meta-yocto-bsps: 3.14 updates and NAND support
cover meta-yocto-bsps: 3.14 updates and NAND support
Richard/Saul,
This series builds on the 3.14 update changes that were sent earlier to oe-core. It updates all the reference BSPs to the latest 3.14 SRCREVs, and enables NAND support on the mpc8315e-rdb. With this, we can now shake out bugs in the various flash filesystems.
Cheers,
Bruce
The following changes since commit e44fa5496d08662444babd4506d8dde61fd2d229:
linux-yocto/3.10: update to v3.10.43 (2014-06-17 10:46:32 -0400)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-yocto
Bruce Ashfield (1):
meta-yocto-bsps: update 3.14 SRCREVs
Kevin Hao (3):
mpc8315e-rdb: bump to linux-yocto 3.14
mpc8315e-rdb: add the jffs2 image support
mpc8315e-rdb: add the example about booting from jffs2 root
README.hardware | 16 ++++++++++++++++ meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 5 ++++- .../recipes-kernel/linux/linux-yocto_3.14.bbappend | 11 +++++++---- 3 files changed, 27 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.1.2
PATCH 1/4 mpc8315e-rdb: bump to linux-yocto 3.14
From: Kevin Hao <[email protected]>
--- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 2 +- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +1 -1
@@ -14,7 +14,7 @@ SERIAL_CONSOLE = "115200 ttyS0" MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" -PREFERRED_VERSION_linux-yocto ?= "3.10%" +PREFERRED_VERSION_linux-yocto ?= "3.14%" PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend +3 -0
@@ -2,6 +2,7 @@ KBRANCH_genericx86 = "standard/common-pc/base" KBRANCH_genericx86-64 = "standard/common-pc-64/base" KBRANCH_edgerouter = "standard/edgerouter" KBRANCH_beaglebone = "standard/beaglebone" +KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KMACHINE_genericx86 ?= "common-pc" KMACHINE_genericx86-64 ?= "common-pc-64"
@@ -10,8 +11,10 @@ SRCREV_machine_genericx86 ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" SRCREV_machine_genericx86-64 ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" SRCREV_machine_edgerouter ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" SRCREV_machine_beaglebone ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" +SRCREV_machine_mpc8315e-rdb ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" COMPATIBLE_MACHINE_genericx86 = "genericx86" COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64" COMPATIBLE_MACHINE_edgerouter = "edgerouter" COMPATIBLE_MACHINE_beaglebone = "beaglebone" +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
Signature · 1 line
1.8.1.2
PATCH 2/4 mpc8315e-rdb: add the jffs2 image support
In reply to Bruce AshfieldFrom: Kevin Hao <[email protected]>
There is a 32M NAND flash on this board, so it would be convenient that a jffs2 image is created by default. Also change the default image type from "tar.gz" to "tar.bz2" in order to be compatible with the beaglebone black and edgerouter BSP.
--- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 3 +++ 1 file changed, 3 insertions(+)
meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +3 -0
@@ -28,3 +28,6 @@ UBOOT_ENTRYPOINT = "0x00000000" KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +JFFS2_ERASEBLOCK = "0x4000"
Signature · 1 line
1.8.1.2
PATCH 3/4 mpc8315e-rdb: add the example about booting from jffs2 root
In reply to Bruce AshfieldFrom: Kevin Hao <[email protected]>
--- README.hardware | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
README.hardware +16 -0
@@ -324,6 +324,22 @@ Load the kernel and dtb (device tree blob), and boot the system as follows: => tftp 2000000 uImage-mpc8315e-rdb.dtb => bootm 1000000 - 2000000 +--- Booting from JFFS2 root --- + + 1. First boot the board with NFS root. + + 2. Erase the MTD partition which will be used as root: + + $ flash_eraseall /dev/mtd3 + + 3. Copy the JFFS2 image to the MTD partition: + + $ flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3 + + 4. Then reboot the board and set up the environment in U-Boot: + + => setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200 + Ubiquiti Networks EdgeRouter Lite (edgerouter) ==============================================
Signature · 1 line
1.8.1.2
PATCH 4/4 meta-yocto-bsps: update 3.14 SRCREVs
In reply to Bruce AshfieldUpdating the h/w reference BSPs to the latest 3.14 content.
--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend +5 -5
@@ -7,11 +7,11 @@ KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KMACHINE_genericx86 ?= "common-pc" KMACHINE_genericx86-64 ?= "common-pc-64" -SRCREV_machine_genericx86 ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" -SRCREV_machine_genericx86-64 ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" -SRCREV_machine_edgerouter ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" -SRCREV_machine_beaglebone ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" -SRCREV_machine_mpc8315e-rdb ?= "0143c6ebb4a2d63b241df5f608b19f483f7eb9e0" +SRCREV_machine_genericx86 ?= "41d5fe27dc3d3e769cb6af01770cac3d75a91e1a" +SRCREV_machine_genericx86-64 ?= "96930820e0cb6d4b31d5e0c8f3174805f4a868b3" +SRCREV_machine_edgerouter ?= "96930820e0cb6d4b31d5e0c8f3174805f4a868b3" +SRCREV_machine_beaglebone ?= "96930820e0cb6d4b31d5e0c8f3174805f4a868b3" +SRCREV_machine_mpc8315e-rdb ?= "824683a5531beffbfc0537f55ff477ad28e761fa" COMPATIBLE_MACHINE_genericx86 = "genericx86" COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
Signature · 1 line
1.8.1.2