I tried both suggestions: 1) My u-boot was quite old, now it should be updated 2) Changed the axp209 power_failed voltages to match values in my script.fex
Re-compiled and re-build SD card. I still get the same issue with uImage loading failed, the log is below. I have tested the system through u-boot console after the kernel read failure. The MMC system seems to have lost the partition table somehow: you can see it already in the log with "** Can't read partition table on 0:0 **" towards the end. U-Boot SPL 2015.10-rc1-00432-gbd48c06 (Aug 09 2015 - 12:47:23) DRAM: 2048 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.10-rc1-00432-gbd48c06 (Aug 09 2015 - 12:47:23 +0000) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment 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: eth0: ethernet@01c50000 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... 3 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 327 bytes read in 22 ms (13.7 KiB/s) ## Executing script at 43100000 reading script.bin 48088 bytes read in 230 ms (204.1 KiB/s) reading uImage Error reading cluster ** Unable to read file uImage ** ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-3.4.103-g9a1cd03 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4551496 Bytes = 4.3 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! SCRIPT FAILED: continuing... ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** scanning bus for devices... Found 0 device(s). ... -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
