Package: flash-kernel Version: 3.20 Severity: wishlist Tags: patch The following patch adds support for "Wandboard i.MX6 Quad Board.", and lays the groundwork for supporting other Wandboard models.
Unfortunately, it does not work out of the box with the u-boot in Debian, as bootscript support was removed from the default bootcmd, but I will be fixing that soon... Two options to work around this, the first is setting bootcmd and saving the environment: bootcmd=load mmc 0:1 ${loadaddr} /boot.scr || load mmc 0:1 ${loadaddr} /boot/boot.scr && source ${loadaddr} Alternately, placing a uEnv.txt on the first partition, fat formatted, to load the bootscript: uenvcmd=load mmc 0:1 ${loadaddr} /boot.scr || load mmc 0:1 ${loadaddr} /boot/boot.scr && source ${loadaddr} commit b0bc3b63b3cf54d371f6c7aadb94684b4362bb99 Author: Vagrant Cascadian <vagr...@debian.org> Date: Tue Jun 10 23:10:31 2014 -0700 Add support for Wandboard i.MX6 Quad Board. diff --git a/bootscript/bootscr.wandboard b/bootscript/bootscr.wandboard new file mode 100644 index 0000000..6e1a5c3 --- /dev/null +++ b/bootscript/bootscr.wandboard @@ -0,0 +1,20 @@ +# boot script for Wandboard + +setenv device mmc +setenv partition ${mmcdev}:${mmcpart} +if test -z "${ramdiskaddr}" ; then + setenv ramdiskaddr 0x13000000 +fi +setenv bootargs '@@LINUX_KERNEL_CMDLINE@@' + +image_locations='/boot/ /' +kvers='@@KERNEL_VERSION@@' + +for pathprefix in ${image_locations} +do + load ${device} ${partition} ${loadaddr} ${pathprefix}vmlinuz-${kvers} \ + && load ${device} ${partition} ${fdt_addr} ${pathprefix}dtb-${kvers} \ + && load ${device} ${partition} ${ramdiskaddr} ${pathprefix}initrd.img-${kvers} \ + && echo "Booting Debian ${kvers} from ${device} ${partition}..." \ + && bootz ${loadaddr} ${ramdiskaddr}:${filesize} ${fdt_addr} +done diff --git a/db/all.db b/db/all.db index ec685c2..6c31fec 100644 --- a/db/all.db +++ b/db/all.db @@ -532,6 +532,13 @@ Method: android Android-Boot-Device: /dev/mmcblk0 Required-Packages: abootimg +Machine: Wandboard i.MX6 Quad Board +Kernel-Flavors: armmp +DTB-Id: imx6q-wandboard.dtb +Boot-Script-Path: /boot/boot.scr +U-Boot-Script-Name: bootscr.wandboard +Required-Packages: u-boot-tools + Machine: WITS A31 Colombus Evaluation Board Kernel-Flavors: armmp armmp-lpae Boot-Script-Path: /boot/boot.scr Thanks! live well, vagrant
signature.asc
Description: Digital signature