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

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



Hi,

Le 14/04/2015 14:05, Ben Hutchings a écrit :
> On Tue, 2015-04-14 at 13:24 +0200, Francois-Regis Vuillemin wrote:
>> Package: installation-reports
>> Severity: important
>> Tags: d-i
>>
>> Here is the console log :
> [...]
>> Running bootscript from mmc ...
>> ## Executing script at 82000000
>> Non-mainline u-boot or old-style mainline u-boot detected.
>> This boot script uses the unified bootcmd handling of mainline
>> u-boot >=v2014.10, which is not available on your system.
>> Please boot the installer manually.
> [...]
> 
> It seems that this script isn't expected to work with the version of
> u-boot that's installed on your BBB.  (Which is a shame, but maybe
> unavoidable.)  That message could probably be improved, though.

I could have misunderstood but I thought beaglebone black was loading
uboot from sd-card (or emmc), and the log shows

U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 22:13:27)

which seems to be the one provided with d-i ...

> 
> Can you find instructions for 'boot the installer manually'?  What could
> we do to improve the documentation?

U-Boot# setenv devtype mmc
U-Boot# setenv devnum 0
U-Boot# setenv bootpart 1
U-Boot# load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} vmlinuz \
> && load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} dtbs/${fdtfile} \
> && load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} initrd.gz \
> && echo "Booting the Debian installer..." \
> && bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
reading vmlinuz
3182760 bytes read in 190 ms (16 MiB/s)
reading dtbs/am335x-boneblack.dtb
29018 bytes read in 37 ms (765.6 KiB/s)
reading initrd.gz
12156022 bytes read in 704 ms (16.5 MiB/s)
Booting the Debian installer...

Kernel image @ 0x82000000 [ 0x000000 - 0x3090a8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8f468000, end 8ffffc76 ... OK
   Loading Device Tree to 8f45d000, end 8f467159 ... OK

Starting kernel ...



Nothing else ...

addresses seem correct :
U-Boot# printenv kernel_addr_r fdt_addr_r ramdisk_addr_r filesize
kernel_addr_r=0x82000000
fdt_addr_r=0x88000000
ramdisk_addr_r=0x88080000
filesize=5ab
U-Boot#

Cheers,

-- 
François-Régis

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: