[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751340: marked as done (flash-kernel: Add support for Wandboard i.MX6 Quad Board.)



Your message dated Tue, 17 Jun 2014 13:32:23 +0200
with message-id <201406171332.40313.holger@layer-acht.org>
and subject line Re: Bug#751340: flash-kernel: Add support for Wandboard i.MX6 Quad Board.
has caused the Debian Bug report #751340,
regarding flash-kernel: Add support for Wandboard i.MX6 Quad Board.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
751340: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751340
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 <vagrant@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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
version: 2014.04+dfsg1-1

On Montag, 16. Juni 2014, Vagrant Cascadian wrote:
> On Wed, Jun 11, 2014 at 02:24:14PM -0700, Vagrant Cascadian wrote:
> > 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...
> 
> U-boot 2014.04+dfsg1-1 in unstable now supports this out of the box.
> 
> 
> live well,
>   vagrant



Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: