[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 Fri, 20 Jun 2014 05:03:38 +0000
with message-id <E1WxqzC-0004st-Sj@franck.debian.org>
and subject line Bug#751340: fixed in flash-kernel 3.22
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 ---
Source: flash-kernel
Source-Version: 3.22

We believe that the bug you reported is fixed in the latest version of
flash-kernel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 751340@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated flash-kernel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 19 Jun 2014 06:54:26 +0200
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source armel
Version: 3.22
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description:
 flash-kernel - utility to make certain embedded devices bootable
 flash-kernel-installer - Make the system bootable (udeb)
Closes: 724891 751340 751353
Changes:
 flash-kernel (3.22) unstable; urgency=medium
 .
   [ Ian Campbell ]
   * Add support for BeagleBone (black). Patch from Vagrant Cascadian.
     (Closes: #751353)
   * Add support for Wandboard i.MX6 Quad Board. Patch from Vagrant Cascadian.
     (Closes: #751340)
   * Add support for D-Link DNS-320 NAS (Rev A1). Stanza from Bastien ROUCARIES.
     (Closes: #724891)
   * Document Mtd-Kernel and Mtd-Initrd in README.
Checksums-Sha1:
 bc19b202bdc78cda947d055208a18a3a845fbb0d 1868 flash-kernel_3.22.dsc
 1181e311706440eb96bf7915d392c4013e9ad514 54596 flash-kernel_3.22.tar.xz
 0f984937775c67b8fb945188a1cd23c71fd22c66 31600 flash-kernel_3.22_armel.deb
 f32d3425d25edb9d6981761b23b2cb6573a7057b 23282 flash-kernel-installer_3.22_armel.udeb
Checksums-Sha256:
 9262ba34861bd13baf598bf8d84ecaff0be55773204f97159ed23325e0669e9a 1868 flash-kernel_3.22.dsc
 367af228a669c9ba49977a9993316732a5def2aa9455c565fe1edec3dbd405e9 54596 flash-kernel_3.22.tar.xz
 beaff6e837f9d01e081e6e3b7f2eb0d6a83fcc3e397d5bc3569a093f7601e0e9 31600 flash-kernel_3.22_armel.deb
 c42aa6abb9394b39d3544f1aec0f63cbbacd111d8d191820e3980063760ab513 23282 flash-kernel-installer_3.22_armel.udeb
Files:
 785ebf906fc27ec21e46b1c554fcc467 31600 utils optional flash-kernel_3.22_armel.deb
 6688f0c607c98dc70b78a023604fb485 23282 debian-installer standard flash-kernel-installer_3.22_armel.udeb
 e22e3fcd038f6bfd504076115db4c667 1868 utils optional flash-kernel_3.22.dsc
 868adb1f2a345d55b73808ed60ea36e9 54596 utils optional flash-kernel_3.22.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBU6O9SYcvcCxNbiWoAQJTew/+Oy/kuQIf/Tkczvid1z+5Ejz/RzbMsb7y
boudsiPIzAm1V4PdDEmnue6vORboiHlXU7vQbEuMz5vuDT2pQ4D2hdmGEPZw47Gc
6WhxpVduYlqV33C3efa5mjDz3wjM7dBf44PhTjZmxaJHaXuwUHXVQ8KMKRPmmygv
YXO99/eCX+OTYW2HahZqUg7s3k4gVhSrRv/5VixPOCR4PTwtsm+g0ojvxfrq6NEo
xHjjsJKI8Y8hgQtOdIQcXc977LxdAMlXd4sB6KpJa6tg5z+Q7nrEl6ruXakY/AT7
c07PaveAbAqklq0InaVgFXVsrKx3AsnLSijabdu8pPyGkDtXKbGwudU+vmWfCXIQ
8T3yIn2U/odzeJVDQmRB5D4dHxvyXSR27Tbrlp6TPmUMpRpQUUTfposwMlBTh2Uj
NxBlVNUedEIbiDqkqEHMZjXnxTnKedZk68vNtfqv7v2TByD0Y/IcqCV6F5Mtb605
uklIeR3PaDCftHdsVE5bJtbbSKuzlr5NsranGmlsWCm1iziQr4S5GQi9YXsbW7Mo
1PwaQdgrXIEm5FjOcX5j81wUXCRtrv93zwbFeTzqfif7JxI0rKEn4u07odhgGCLZ
xKEJDGAwSU4UNjVPCEiZccDnSRPJeDSYFxbtemWQXRg4qNT9OrIfSZbN/HRPhOxH
XA+9PMf5Lsg=
=p1hu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: