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

Bug#786367: flash-kernel: support BeagleBone Black with u-boot 2015.04+



On 2015-05-25, Cyril Brulebois wrote:
> Ian Campbell <ijc@debian.org> (2015-05-25):
>> On Mon, 2015-05-25 at 03:37 +0200, Cyril Brulebois wrote:
>> > Uploading now looks good to me, but I don't want to stomp on anyone's
>> > toes. Ian, are you fine with my uploading a new version with these
>> > changes?
>> 
>> Sure, go ahead.
>
> Thanks, pushed the following commit for it:
>   https://anonscm.debian.org/cgit/d-i/flash-kernel.git/commit/?id=c585656
>
> and uploaded afterwards.

Apparently I only tested the submitted patch with the *new* version, but
not backwards compatibility with the u-boot version in jessie, and it
fails to boot with that version due to a typo. The following patch fixes
this:


diff --git a/bootscript/bootscr.beaglebone b/bootscript/bootscr.beaglebone
index 31ee618..ddfee6b 100644
--- a/bootscript/bootscr.beaglebone
+++ b/bootscript/bootscr.beaglebone
@@ -11,8 +11,9 @@ then
 fi
 
 if test "${devtype}" = ""
-  setenv device mmc
 then
+  setenv device mmc
+else
   # use device provided by distro_bootcmd
   setenv device "${devtype}"
 fi

Sorry for the trouble!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: