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

Bug#786367: marked as done (flash-kernel: support BeagleBone Black with u-boot 2015.04+)



Your message dated Mon, 25 May 2015 10:21:31 +0000
with message-id <E1YwpVj-0003tY-U5@franck.debian.org>
and subject line Bug#786367: fixed in flash-kernel 3.39
has caused the Debian Bug report #786367,
regarding flash-kernel: support BeagleBone Black with u-boot 2015.04+
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.)


-- 
786367: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786367
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel
Version: 3.37
Severity: wishlist
Tags: patch

The version of u-boot in experimental, 2015.04+dfsg1-1 contains a
patch to the u-boot environment to support distro_bootcmd, but is
incompatible with the current bootscript in flash-kernel.

The following patch should fix this by setting device, partition and
image_locations variables using values provided by distro_bootcmd,
falling back to the old default values.

diff --git a/bootscript/bootscr.beaglebone b/bootscript/bootscr.beaglebone
index 1d079f8..31ee618 100644
--- a/bootscript/bootscr.beaglebone
+++ b/bootscript/bootscr.beaglebone
@@ -10,11 +10,30 @@ then
   exit
 fi
 
-setenv device mmc
-setenv partition ${bootpart}
+if test "${devtype}" = ""
+  setenv device mmc
+then
+  # use device provided by distro_bootcmd
+  setenv device "${devtype}"
+fi
+
+if test "${devnum}" = ""
+then
+  setenv partition ${bootpart}
+else
+  # use partition provided by distro_bootcmd
+  setenv partition ${devnum}:${bootpart}
+fi
+
 setenv bootargs ${bootargs} @@LINUX_KERNEL_CMDLINE@@
 
-image_locations='/boot/ /'
+if test "${prefix}" = ""
+then
+  image_locations='/boot/ /'
+else
+  # use prefix provided by distro_bootcmd
+  image_locations="${prefix}"
+fi
 kvers='@@KERNEL_VERSION@@'
 
 for pathprefix in ${image_locations}


I intend to upload a newer version of u-boot to unstable sometime
soonish, so it would be ideal if this patch could be included in
flash-kernel before or at the same time as u-boot is uploaded to
unstable.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 3.39

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 786367@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@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: Mon, 25 May 2015 11:51:38 +0200
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source
Version: 3.39
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description:
 flash-kernel - utility to make certain embedded devices bootable
 flash-kernel-installer - Make the system bootable (udeb)
Closes: 786367
Changes:
 flash-kernel (3.39) unstable; urgency=medium
 .
   * Add support for distro_bootcmd when using u-boot >= 2015.04+dfsg1-1
     by adjusting bootscr.beaglebone: use results from distro_bootcmd and
     use previous settings as a fallback (Closes: #786367). Thanks,
     Vagrant Cascadian!
Checksums-Sha1:
 84dee5bad143c35eafe80de1c358b169b0108314 1855 flash-kernel_3.39.dsc
 4f41145c6f0d3e6ae58a43c48fbb9a9072c12434 59952 flash-kernel_3.39.tar.xz
Checksums-Sha256:
 e3f1e3e12ae5ccdcd765a934d9ebd3a73f6a9987c1616ed403d103707f9dee0d 1855 flash-kernel_3.39.dsc
 638354dd358faf2e4e26cf46cc26480c5fbb56e6f8753b15dc53bada49f72950 59952 flash-kernel_3.39.tar.xz
Files:
 69f3946e786b22f9452973083f7e993e 1855 utils optional flash-kernel_3.39.dsc
 13460f8f9cd0f06028ee096d5b06346d 59952 utils optional flash-kernel_3.39.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVYvDdAAoJEP+RSvDCs1Ug/ekQAKUP5GGbyMyUwk8DesNv6XxU
FGdH/bHeTVzUyg6eqqp94xtkn2xF6TfAkCp3NTFq7otLUmw0fLNu0NGYbFXTXxSl
xrApsDQs1XTU32fLrZCjNennFROj1mv2/GlT0/c9XDhn/ii8LiTSSUfEkkSxfQ6N
zcUdOqHiuLwQSfKAULPZ9mQYAPLvV1kM3AWQBZz80dBG7XUl0RNcEYNnPcsFMQUR
+xEsluom8NiuUcwY7TUOp3dUpvmIfWe/koWKv2ZmvpluxaQrn8nleZSI+mxIEyfE
9E56zFadC9wZDkkEqzbA+5846jMT5S4TF8/PjtAqZHqPBJocd+LM3LETpnqjFvEp
g8u8FP/RU1CWmen9i97Nvgec94VADPBMmEtgDnElakshKW3Bil8a3Dd96xZyeMcQ
A58iGYfZvgw9Lt/POr3+F0MedOGJUiGrzuKIb6PTgLx+v05W06O4O0+tLRlf4ZEl
aJtf4yihxjdOTYD2MqiwNLfYnQC0Z+rI35dQ/VB5Mub/JI6hBTu5W6H38yUEx2Ja
E8tDBuew0ODTGqdopJT2QBQOR8yoPiNobrN5YG2QUxENixIKiXcdSYvu8pkXyJDz
Xgm5j65PnwTnupjyLDMjIk9dI4blaqcVXHJeQSmmp6AgfZSoL+jXcTtlO/jjmHZQ
RNU+b/FLkBjDSuSgbv2V
=WWnv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: