Package: u-boot-sunxi
Version: 2014.10-2015.04 (stable/testing/unstable)
Severity: important
Tags: d-i upstream

Dear Maintainer,

I was trying to use the debian installer SD-card netboot image to install a 
fresh copy of debian 
on my Banana Pi (the ones from 
http://ftp2.de.debian.org/debian/dists/<stability>/main/installer-armhf/current/images/netboot/SD-card-images/).
The image boots the u-boot bootloader properly, but fails to load vmlinuz off 
my sdcard. Loading
and booting the installer via tftp works without problems. The same thing 
happens after installing 
debian: u-boot boots up properly, but fails to load the kernel (ext2 instead of 
fat this time).
Listing files on the sdcard with fatls/ext2ls gives me the correct list of 
files without error.


Here is the output of u-boot with the netboot image:

U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 22:00:53) Allwinner Technology
 
CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0...
Found U-Boot script /boot.scr
reading /boot.scr
1451 bytes read in 44 ms (31.3 KiB/s)
## Executing script at 43100000
Mainline u-boot / new-style environment detected.
reading vmlinuz
Error reading cluster
** Unable to read file vmlinuz **
SCRIPT FAILED: continuing...
** Can't read partition table on 0:0 **
** Invalid partition 1 **


Output after installing debian, booting the installation:

U-Boot SPL 2014.10+dfsg1-5 (Apr 07 2015 - 22:00:53)
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
 
 
U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 22:00:53) Allwinner Technology
 
CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0...
Found U-Boot script /boot.scr
2120 bytes read in 78 ms (26.4 KiB/s)
## Executing script at 43100000
Mainline u-boot / new-style environment detected.
 ** ext4fs_devread read error - block
SCRIPT FAILED: continuing...


I tried this with a couple of different cards:
 * SanDisk Ultra II 2GB: does not work
 * SanDisk Ultra II 2GB (another one): does not work
 * SanDisk Ultra II 1GB: does not work

I also pulled the images off the card again to check the md5sum, it's correct.

This applies to stable, testing and unstable (from 25.07.2015) images. 

Interestingly, it works with an SanDisk Extreme 16GB SDHC card, so this might 
be a timing issue
(as suggested in IRC). I currently don't have any other cards laying around to 
test this with, 
so I can't provide info on other cards and manufacturers.


Thank You,
Markus Kasten

-- System Information:
Debian Release: 7.8
Architecture: armhf (armv6l)

Kernel: Linux 3.18.11+ (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to