All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes
@ 2016-04-21 19:42 Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 2/4] rpi-config: Add UART enabler Theodor Gherzan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Theodor Gherzan @ 2016-04-21 19:42 UTC (permalink / raw)
  To: yocto

From: Theodor Gherzan <theodor@resin.io>

Signed-off-by: Theodor Gherzan <theodor@resin.io>
---
 recipes-bsp/common/firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
index c1117d6..abc7d06 100644
--- a/recipes-bsp/common/firmware.inc
+++ b/recipes-bsp/common/firmware.inc
@@ -1,5 +1,5 @@
-RPIFW_SRCREV ?= "046effa13ebc4cc7601df4f06f4834bd0eebb0f8"
-RPIFW_DATE ?= "20160326"
+RPIFW_SRCREV ?= "c5e131971c323f5658c7c5d4b1dd105d37903a99"
+RPIFW_DATE ?= "20160303"
 RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
 RPIFW_S ?= "${WORKDIR}/git"
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-raspberrypi][PATCH 2/4] rpi-config: Add UART enabler
  2016-04-21 19:42 [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
@ 2016-04-21 19:42 ` Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 3/4] linux-raspberrypi: Make use of serial aliases Theodor Gherzan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Theodor Gherzan @ 2016-04-21 19:42 UTC (permalink / raw)
  To: yocto

From: Theodor Gherzan <theodor@resin.io>

Signed-off-by: Theodor Gherzan <theodor@resin.io>
---
 recipes-bsp/bootfiles/rpi-config_git.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
index 2941982..0fbb17e 100644
--- a/recipes-bsp/bootfiles/rpi-config_git.bb
+++ b/recipes-bsp/bootfiles/rpi-config_git.bb
@@ -95,6 +95,11 @@ do_deploy() {
     if [ "${PITFT28r}" = "1" ]; then
         echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
         echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
+
+    # UART support
+    if [ "${ENABLE_UART}" = "1" ]; then
+        echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
+        echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
     fi
 }
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-raspberrypi][PATCH 3/4] linux-raspberrypi: Make use of serial aliases
  2016-04-21 19:42 [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 2/4] rpi-config: Add UART enabler Theodor Gherzan
@ 2016-04-21 19:42 ` Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 4/4] README: Document new variable configuration Theodor Gherzan
  2016-04-22  9:31 ` [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Andrei Gherzan
  3 siblings, 0 replies; 5+ messages in thread
From: Theodor Gherzan @ 2016-04-21 19:42 UTC (permalink / raw)
  To: yocto

From: Theodor Gherzan <theodor@resin.io>

The firmware will parse cmdline and replace serial aliases with the
actual serial console port.

Signed-off-by: Theodor Gherzan <theodor@resin.io>
---
 recipes-kernel/linux/linux-raspberrypi.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index f8e0c92..eccbbc6 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -20,7 +20,7 @@ KERNEL_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig"
 KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
 
 # CMDLINE for raspberrypi
-CMDLINE = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
+CMDLINE = "dwc_otg.lpm_enable=0 console=serial0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
 
 # Add the kernel debugger over console kernel command line option if enabled
 CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=ttyAMA0,115200", "", d)}'
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-raspberrypi][PATCH 4/4] README: Document new variable configuration
  2016-04-21 19:42 [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 2/4] rpi-config: Add UART enabler Theodor Gherzan
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 3/4] linux-raspberrypi: Make use of serial aliases Theodor Gherzan
@ 2016-04-21 19:42 ` Theodor Gherzan
  2016-04-22  9:31 ` [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Andrei Gherzan
  3 siblings, 0 replies; 5+ messages in thread
From: Theodor Gherzan @ 2016-04-21 19:42 UTC (permalink / raw)
  To: yocto

From: Theodor Gherzan <theodor@resin.io>

Signed-off-by: Theodor Gherzan <theodor@resin.io>
---
 README | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/README b/README
index ec9f905..ee330df 100644
--- a/README
+++ b/README
@@ -29,6 +29,7 @@ Contents:
     3.L. Enable SPI bus
     3.M. Enable I2C
     3.N. Enable PiTFT support
+    3.O. Enable UART support
 4. Extra apps
     4.A. omxplayer
 5. Board Configuration
@@ -238,6 +239,12 @@ List of currently supported models:
     - pitft22
     - pitft28r
 
+3.O. Enable UART
+===============
+Set this variable to enable UART on raspberypi3:
+ENABLE_UART = "1"
+
+Note: The value of enable_uart would be set to 1 by default on raspberrypi 1/2.
 
 4. Extra apps
 =============
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes
  2016-04-21 19:42 [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
                   ` (2 preceding siblings ...)
  2016-04-21 19:42 ` [meta-raspberrypi][PATCH 4/4] README: Document new variable configuration Theodor Gherzan
@ 2016-04-22  9:31 ` Andrei Gherzan
  3 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2016-04-22  9:31 UTC (permalink / raw)
  To: Theodor Gherzan; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

On Thu, Apr 21, 2016 at 08:42:36PM +0100, Theodor Gherzan wrote:
> From: Theodor Gherzan <theodor@resin.io>
>
> Signed-off-by: Theodor Gherzan <theodor@resin.io>
> ---
>  recipes-bsp/common/firmware.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
> index c1117d6..abc7d06 100644
> --- a/recipes-bsp/common/firmware.inc
> +++ b/recipes-bsp/common/firmware.inc
> @@ -1,5 +1,5 @@
> -RPIFW_SRCREV ?= "046effa13ebc4cc7601df4f06f4834bd0eebb0f8"
> -RPIFW_DATE ?= "20160326"
> +RPIFW_SRCREV ?= "c5e131971c323f5658c7c5d4b1dd105d37903a99"
> +RPIFW_DATE ?= "20160303"
>  RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
>  RPIFW_S ?= "${WORKDIR}/git"

Merged to master (along with the other patches in the series). Thanks.
Some minor modifications added (README).

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-22  9:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 19:42 [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Theodor Gherzan
2016-04-21 19:42 ` [meta-raspberrypi][PATCH 2/4] rpi-config: Add UART enabler Theodor Gherzan
2016-04-21 19:42 ` [meta-raspberrypi][PATCH 3/4] linux-raspberrypi: Make use of serial aliases Theodor Gherzan
2016-04-21 19:42 ` [meta-raspberrypi][PATCH 4/4] README: Document new variable configuration Theodor Gherzan
2016-04-22  9:31 ` [meta-raspberrypi][PATCH V2 1/4] firmware.inc: Update firmware to include various serial fixes Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.