我用的是全志A64的开发板,进入fel模式后我运行run.bat
这个run.bat的内容
"win32\sunxi-fel.exe" version
set BOARD=m64
"win32\sunxi-fel.exe" -v -p spl %BOARD%\sunxi-spl.bin
"win32\sunxi-fel.exe" -v -p write 0x44000 %BOARD%\bl31-a64-h5.bin
"win32\sunxi-fel.exe" -v -p write 0x4a000000 %BOARD%\u-boot.bin
"win32\sunxi-fel.exe" -v -p write 0x40080000 %BOARD%\Image
"win32\sunxi-fel.exe" -v -p write 0x4fa00000 %BOARD%\sun50i-a64-bananapi-m64.dtb
"win32\sunxi-fel.exe" -v -p write 0x4fc00000 %BOARD%\boot.scr
"win32\sunxi-fel.exe" -v -p write 0x4fe00000 %BOARD%\initramfs.uimg reset64 0x44000
运行完run.bat后串口输出如下
U-Boot SPL 2018.11-00009-g4edd8c0427 (Dec 06 2018 - 01:23:58 +0000)
DRAM: 2048 MiB
Trying to boot from FEL
NOTICE: BL31: v2.0(debug):v2.0-337-g19b56cf4
NOTICE: BL31: Built : 00:07:26, Dec 6 2018
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x409ac38, model: OrangePi Win/Win Plus
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
NOTICE: BL31: PMIC: Detected AXP803 on RSB.
INFO: PMIC: AXP803: dcdc1 voltage: 3.300V
INFO: PMIC: AXP803: dcdc5 voltage: 1.500V
INFO: PMIC: AXP803: dcdc6 voltage: 1.100V
INFO: PMIC: AXP803: dldo1 voltage: 3.300V
INFO: PMIC: AXP803: dldo2 voltage: 3.300V
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for 843419 was applied
INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
U-Boot 2020.01-rc1 (Nov 11 2020 - 12:41:27 +0800) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: OrangePi Win/Win Plus
DRAM: 2 GiB
MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000'
mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... MMC: no card present
In: serial
Out: serial
Err: serial
No USB device found
Net: phy interface7
Could not get PHY for ethernet@1c30000: addr 1
eth-1: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 4 USB Device(s) found
scanning bus usb@1c1b400 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
mmc1(part 0) is current device
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: no card present
Device 0: unknown device
phy interface7
mdio_register: non unique device name 'ethernet@1c30000'
Could not get PHY for ethernet@1c30000: addr 1
phy interface7
mdio_register: non unique device name 'ethernet@1c30000'
Could not get PHY for ethernet@1c30000: addr 1
请问什么原因导致内核不去在fel里启动,他找不到emmc和sd卡怎么不去找fel
离线
uboot的逻辑是不进fel,除非你改usb的代码,我记得aodzip的uboot是可以的
离线