U-Boot v2019.04-rc3 released
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
Thanks all!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190304/a825829a/attachment.sig>
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
Peter
U-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga
Allwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
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: sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **
scanning bus for devices...
data abort
pc : [<bef8b822>] lr : [<bef86e4d>]
reloc pc : [<4a01c822>] lr : [<4a017e4d>]
sp : baf46510 ip : 0000001c fp : 000000c0
r10: 00000000 r9 : baf4eed8 r8 : 00000000
r7 : baf46790 r6 : befd4074 r5 : befdbd30 r4 : befdbd30
r3 : 00000000 r2 : 00000000 r1 : ea000016 r0 : befdbd30
Flags: nZcv IRQs off FIQs off Mode SVC_32
Code: e92dbd10 f8d045f0 b0858080 1000f8d8 (f8d14604)
Resetting CPU ...
resetting ...
Quoted 57 lines · Peter Robinson
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
PeterU-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
Quoted 9 lines
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **
are you sure, your sd has partitions?
Can you switch mmc dev and check the contents, mean while I can try it on A20 later tomorrow.
Quoted 69 lines · Jagan Teki
Quoted 57 lines · Peter Robinson
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
PeterU-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0Quoted 9 lines
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **
Quoted 4 lines
are you sure, your sd has partitions?
Can you switch mmc dev and check the contents, mean while I can try it on A20 later tomorrow.
these devices boot with the version we shipped with F-29, which was 2018.09 and the users report if they reflash back to that version it works.
Peter
Quoted 69 lines · Jagan Teki
Quoted 57 lines · Peter Robinson
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
PeterU-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0Quoted 9 lines
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **
Quoted 4 lines
are you sure, your sd has partitions?
Can you switch mmc dev and check the contents, mean while I can try it on A20 later tomorrow.
Hi Jagan,
Did you get a chance to test this? We've seen this on at least Cubie2, CubieTruck and BananaPi and it still persists with rc4
Peter
Quoted 72 lines · Peter Robinson
Quoted 71 lines · Jagan Teki
Quoted 57 lines · Peter Robinson
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
PeterU-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0Quoted 9 lines
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **are you sure, your sd has partitions?
Quoted 7 lines
Quoted 2 lines
Can you switch mmc dev and check the contents, mean while I can try it on A20 later tomorrow.
Hi Jagan,
Did you get a chance to test this? We've seen this on at least Cubie2, CubieTruck and BananaPi and it still persists with rc4
There were reports that fat write is corrupting the images. Not sure if it is related to this bug. Can you try with the patch[1] that reported fat write failures and see if it helps?
[1] https://patchwork.ozlabs.org/patch/1056411/
Thanks and regards,
Lokesh
Quoted 73 lines · Peter Robinson
Quoted 71 lines · Jagan Teki
Quoted 57 lines · Peter Robinson
Hey Tom and Jagan,
Quoted 9 lines
Hey all,
So it's release day and I've put up v2019.04-rc3, I've updated git and the tarballs are also up now.
Thanks again to having signed tags, between -rc2 and -rc3 we have a good changelog under 'git log --merges v2019.04-rc2..v2019.04-rc3'
We're looking at release on April 8th, 2019.
I've had reports of crashes on AllWinner A20 devices, at least Cubieboard2, CubieTruck and BananaPi, with rc2/rc3 (I'm not 100% sure when it started) in Fedora. I'm suspecting some of the DM migration here.
Are either of you aware of any issues there?
Crash below.
Regards,
PeterU-Boot SPL 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc3 (Mar 05 2019 - 14:49:53 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0Quoted 9 lines
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **are you sure, your sd has partitions?
Quoted 7 lines
Quoted 2 lines
Can you switch mmc dev and check the contents, mean while I can try it on A20 later tomorrow.
Hi Jagan,
Did you get a chance to test this? We've seen this on at least Cubie2, CubieTruck and BananaPi and it still persists with rc4
I made a quick test on v2019.01 vs v2019.04-rc3, below are the results. I even grab the reg dump for your information. please check the same.
U-Boot 2019.04-rc3-00065-g8cafb42fb7 (Mar 21 2019 - 12:42:33 +0530) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: LeMaker Banana Pi I2C: ready DRAM: 1 GiB MMC: mmc at 1c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Selecting environment with bad CRC
Setting up a 720x576i composite-pal console (overscan 32x20)
In: serial Out: vga Err: vga SCSI: 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: sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=>
=> mmc dev 0
switch to partitions #0, OK
mmc0 is current device
=> fatls mmc 0:1
3945128 zImage
26934 sun7i-a20-bananapi-m1-plus.dtb
extlinux/2 file(s), 1 dir(s)
=> md 0x1c0f000
01c0f000: 80000000 00010000 ffffff40 00000001 ........ at ....... 01c0f010: 00000200 00000800 00003352 00000904 ........R3...... 01c0f020: 00000900 00000b00 5b590000 400e0032 ..........Y[2..@ 01c0f030: c0000000 00000000 00000000 00006106 .............a.. 01c0f040: 000f0000 00000000 00000800 00000800 ................ 01c0f050: 00000000 00000000 00000000 00000000 ................ 01c0f060: 00000000 00000000 00000000 00000000 ................ 01c0f070: 00000000 00000000 00000000 00000000 ................ 01c0f080: 00000000 00000000 00000000 00000000 ................ 01c0f090: 00000000 00000000 00000000 00000000 ................ 01c0f0a0: 00000000 00000000 00000000 00000000 ................ 01c0f0b0: 00000000 00000000 00000000 00000000 ................ 01c0f0c0: 00000000 00000000 00000000 00000000 ................ 01c0f0d0: 00000000 00000000 00000000 00000000 ................ 01c0f0e0: 00000000 00000000 00000000 00000000 ................ 01c0f0f0: 00000000 00000000 00000000 00000000 ................ => md 0x1c20000 01c20000: a1005310 0a10101e 08100010 00000000 .S.............. 01c20010: 80008009 00000000 21009911 00000000 ...........!.... 01c20020: b1049291 1488801a a100d911 00000000 ................ 01c20030: 0010d063 00000000 00000000 00000000 c............... 01c20040: 21009911 00000000 00000000 00000000 ...!............ 01c20050: 00138013 00020112 00000000 00000000 ................ 01c20060: 0200c15e 00021014 00000020 00010001 ^....... ....... 01c20070: 00000000 00000000 00000000 00000000 ................ 01c20080: 00000000 00000000 8140030b 00000000 .......... at ..... 01c20090: 00000000 00000000 00000000 00000000 ................ 01c200a0: 00000000 00000000 00000000 00000000 ................ 01c200b0: 00000000 00000000 00000000 00030000 ................ 01c200c0: 00010000 0000001f 00000000 000001c6 ................ 01c200d0: 80000000 00000000 00000000 00000000 ................ 01c200e0: 00000000 00000000 00000000 00000000 ................ 01c200f0: 00000000 00000000 00000000 00000000 ................
U-Boot 2019.01 (Mar 21 2019 - 12:38:13 +0530) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: LeMaker Banana Pi I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Setting up a 720x576i composite-pal console (overscan 32x20)
In: serial Out: vga Err: vga SCSI: 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: eth0: ethernet at 1c50000
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=>
=> md 0x1c0f000
01c0f000: 80000000 00010000 ffffff40 00000001 ........ at ....... 01c0f010: 00000200 00000800 00003352 00000904 ........R3...... 01c0f020: 00000900 00000b00 5b590000 400e0032 ..........Y[2..@ 01c0f030: c0000000 00000000 00000000 00006106 .............a.. 01c0f040: 000f0000 00000000 00000800 00000800 ................ 01c0f050: 00000000 00000000 00000000 00000000 ................ 01c0f060: 00000000 00000000 00000000 00000000 ................ 01c0f070: 00000000 00000000 00000000 00000000 ................ 01c0f080: 00000000 00000000 00000000 00000000 ................ 01c0f090: 00000000 00000000 00000000 00000000 ................ 01c0f0a0: 00000000 00000000 00000000 00000000 ................ 01c0f0b0: 00000000 00000000 00000000 00000000 ................ 01c0f0c0: 00000000 00000000 00000000 00000000 ................ 01c0f0d0: 00000000 00000000 00000000 00000000 ................ 01c0f0e0: 00000000 00000000 00000000 00000000 ................ 01c0f0f0: 00000000 00000000 00000000 00000000 ................ => md 0x1c20000 01c20000: a1005310 0a10101e 08100010 00000000 .S.............. 01c20010: 80008009 00000000 21009911 00000000 ...........!.... 01c20020: b1049291 1488801a a100d911 00000000 ................ 01c20030: 0010d063 00000000 00000000 00000000 c............... 01c20040: 21009911 00000000 00000000 00000000 ...!............ 01c20050: 00138013 00020112 00000000 00000000 ................ 01c20060: 0200c15e 00021014 00000020 00010001 ^....... ....... 01c20070: 00000000 00000000 00000000 00000000 ................ 01c20080: 00000000 00000000 8140030b 00000000 .......... at ..... 01c20090: 00000000 00000000 00000000 00000000 ................ 01c200a0: 00000000 00000000 00000000 00000000 ................ 01c200b0: 00000000 00000000 00000000 00030000 ................ 01c200c0: 00010000 0000001f 00000000 000000c6 ................ 01c200d0: 80000000 00000000 00000000 00000000 ................ 01c200e0: 00000000 00000000 00000000 00000000 ................ 01c200f0: 00000000 00000000 00000000 00000000 ................
Jagan.
Quoted 8 lines
Quoted 4 lines
Hi Jagan,
Did you get a chance to test this? We've seen this on at least Cubie2, CubieTruck and BananaPi and it still persists with rc4
I made a quick test on v2019.01 vs v2019.04-rc3, below are the results. I even grab the reg dump for your information. please check the same.
So further testing on this from the people seeing the problem shows it's an issue when booting the OS off a SATA/AHCI attached device. So a mSD card with U-Boot on it and the rest of the OS on a SSD or similar, booting the OS off mSD works as expected.
Output:
U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... Unable to use mmc 0:2... Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga
Allwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
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: sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> scsi info
=> scsi reset
Reset SCSI
scanning bus for devices...
data abort
pc : [<bef8b82a>] lr : [<bef86e51>]
reloc pc : [<4a01c82a>] lr : [<4a017e51>]
sp : baf46b58 ip : 0000001c fp : 000000c0
r10: 00000000 r9 : baf4eed8 r8 : 00000000
r7 : baf46dd8 r6 : befd4094 r5 : befdbd30 r4 : befdbd30
r3 : 00000000 r2 : 00000000 r1 : ea000016 r0 : befdbd30
Flags: nZcv IRQs off FIQs off Mode SVC_32
Code: e92dbd10 f8d045f0 b0858080 1000f8d8 (f8d14604)
Resetting CPU ...
resetting ...
U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... Unable to use mmc 0:2... Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga
Allwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
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: sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=>
U-Boot SPL 2018.09 (Jan 29 2019 - 17:00:18 +0000)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2018.09 (Jan 29 2019 - 17:00:18 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... ** No valid partitions found ** Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga
Allwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
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: eth0: ethernet at 01c50000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> scsi info
Device 0: device type unknown
=> scsi reset
Reset SCSI
scanning bus for devices...
Device 0: (0:0) Vendor: ATA Prod.: SPCC Solid State Rev: S9FM
Type: Hard Disk
Capacity: 57241.8 MB = 55.9 GB (117231408 x 512)
Found 1 device(s).
Quoted 6 lines · Peter Robinson
Quoted 6 lines
Quoted 5 lines
Hi Jagan,
Did you get a chance to test this? We've seen this on at least Cubie2, CubieTruck and BananaPi and it still persists with rc4
Quoted 8 lines
Quoted 3 lines
I made a quick test on v2019.01 vs v2019.04-rc3, below are the results. I even grab the reg dump for your information. please check the same.
So further testing on this from the people seeing the problem shows it's an issue when booting the OS off a SATA/AHCI attached device. So a mSD card with U-Boot on it and the rest of the OS on a SSD or similar, booting the OS off mSD works as expected.
Is sd issue still persist?
Quoted 48 lines
Output:
U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000)
DRAM: 2048 MiBCPU: 912000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2019.04-rc4 (Mar 20 2019 - 15:48:13 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubietruck I2C: ready DRAM: 2 GiB MMC: mmc at 1c0f000: 0, mmc at 1c12000: 1 Loading Environment from FAT... Unable to use mmc 0:2... Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vgaAllwinner mUSB OTG (Peripheral)
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps0x1impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apstNet:
sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet at 1c50000
Warning:usb_etherusing MAC address from ROM
, eth1:usb_ether
starting USB...USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> scsi info
=> scsi resetReset SCSI
scanning bus for devices...
data abortpc : [<bef8b82a>] lr : [<bef86e51>]
Quoted 8 lines
reloc pc : [<
4a01c82a>] lr : [<4a017e51>]
sp :baf46b58ip :0000001cfp :000000c0
r10: 00000000 r9 :baf4eed8r8 : 00000000
r7 :baf46dd8r6 :befd4094r5 :befdbd30r4 :befdbd30
r3 : 00000000 r2 : 00000000 r1 :ea000016r0 :befdbd30
Flags: nZcv IRQs off FIQs off ModeSVC_32Code: e92dbd10 f8d045f0 b0858080 1000f8d8 (f8d14604)Resetting CPU ...
Have you reproduce the same in previous release? better bisect it.