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

Bug#782574: installation-reports: d-i does not boot on beaglebone black



On 2015-05-27, François-Régis wrote:
> Le 27/05/2015 20:36, Vagrant Cascadian a écrit :
 
>> I don't see anything mentioned in the errata yet:
>> 
>>   https://www.debian.org/releases/stable/debian-installer/#errata
>> 
>> Not sure what the process is to update that, but I'd be happy to work on
>> some text for it.
>
> I was not very pushy to make this mentioned in the errata giving the
> fact that the most popular way to install debian on BBB is to use
> readymade disk images and not d-i. That said I'd like to help on
> documenting.

Here's a stab at some text and instructions:

Booting BeagleBone Black

The u-boot version shipped with Debian Jessie does not work out of the
box with debian-installer on the BeagleBone Black. The following
workaround should enable booting by setting some environment variables
at the u-boot prompt, using the appropriate SD-card-images from Jessie
debian-installer:

Set the fdt file:

  U-Boot# run findfdt
  U-Boot# printenv fdtfile
  fdtfile=am335x-boneblack.dtb

If it doesn't set the fdt file correctly, set it manually:

  U-Boot# setenv fdtfile am335x-boneblack.dtb

Set a few compatibility variables:

  U-Boot# setenv devnum 0
  U-Boot# setenv bootpart 1
  U-Boot# setenv devtype mmc
  U-Boot# setenv boot_targets mmc0

Ensure that the console variable is set appropriately:

  U-Boot# printenv console
  console=ttyO0,115200n8

Load the boot script manually:

  U-Boot# load ${devtype} ${devnum}:${bootpart} ${loadaddr} ${script}
  U-Boot# source ${loadaddr}

If everything went well, it should load the kernel, initrd, device-tree,
and boot into debian-installer...


If there's an old u-boot version on the eMMC and these instructions
don't work, it may require pressing the "boot" button (near the micro-SD
slot) to load u-boot off of the micro-SD card.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: