您尚未登录。

#1 全志 SOC » fel模式下usb启动问题 » 2020-11-15 20:29:00

zn123
回复: 1

我用的是全志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

#3 Re: 全志 SOC » fel 模式下用sunxi-fel烧录uboot报错 » 2020-11-13 15:21:51

E:\sunxi-fel>"bin\sunxi-fel.exe" version
AWUSBFEX soc=00001689(A64) 00000001 ver=0001 44 08 scratchpad=00017e00 00000000 00000000
这个是fel的版本没有问题

#4 Re: 全志 SOC » fel 模式下用sunxi-fel烧录uboot报错 » 2020-11-13 15:18:48

sunxi-fel是Github上下载的说支持香蕉派的M64芯片,就是M16的芯片就是A6
4啊

#5 Re: 全志 SOC » fel 模式下用sunxi-fel烧录uboot报错 » 2020-11-13 14:40:37

fel模式下烧录就报错,不懂为什么

#8 全志 SOC » fel 模式下用sunxi-fel烧录uboot报错 » 2020-11-13 13:29:57

zn123
回复: 10

E:\sunxi-fel>"bin\sunxi-fel.exe" -v -p uboot u-boot-sunxi-with-spl.bin
Stack pointers: sp_irq=0x00012000, sp=0x00015E08
MMU is not enabled by BROM
=> Executing the SPL... done.
usb_bulk_send() ERROR -7: Operation timed out

串口中的显示如下
U-Boot SPL 2020.01-rc1 (Nov 11 2020 - 12:41:27 +0800)
DRAM: 2048 MiB
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

请问这个是什么原因啊

#9 Re: 全志 SOC » 请教大佬关于emmc烧录问题 » 2020-11-04 09:21:50

我的是A64,我知道内核里的设备树怎么修改,uboot里的请问怎么修改

#10 全志 SOC » 请教大佬关于emmc烧录问题 » 2020-11-03 20:29:59

zn123
回复: 2

我的mmc list是
mmc@1c0f000: 0 (SD)
mmc@1c10000: 1
我把uboot烧入emmc中显示
U-Boot SPL 2020.01-rc1 (Nov 03 2020 - 16:05:48 +0800)
DRAM: 2048 MiB
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device 1. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

我觉得原因是emmc是1c11000,uboot没有这个设备,自己下了好几个版本的uboot都没有这个设备,然后make menuconfig也没有看到可以改mmc的地方,请问大佬们有没有遇到这种情况,怎么可以解决

#11 Re: 全志 SOC » 求助:A33主线uboot跑起来了,但是无法从 eMMC 启动 » 2020-11-03 20:22:55

我的mmc list是
mmc@1c0f000: 0 (SD)
mmc@1c10000: 1
我把uboot烧入emmc中显示
U-Boot SPL 2020.01-rc1 (Nov 03 2020 - 16:05:48 +0800)
DRAM: 2048 MiB
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device 1. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

我觉得原因是emmc是1c11000,uboot没有这个设备,自己下了好几个版本的uboot都没有这个设备,然后make menuconfig也没有看到可以改mmc的地方,请问大佬们有没有遇到这种情况,怎么可以解决

#12 全志 SOC » 报错信息不知道什么原因 » 2020-07-20 17:27:56

zn123
回复: 0

[   20.673723] sun50i-a64-pinctrl 1c20800.pinctrl: pin PE9 already requested by 0-0014; cannot claim for 1c20800.pinctrl:137
[   20.684720] sun50i-a64-pinctrl 1c20800.pinctrl: pin-137 (1c20800.pinctrl:137) status -22
[   20.692870] Goodix-TS: probe of 0-0014 failed with error -22

#13 全志 SOC » 求助 全志A64 lvds设备树配置 » 2020-07-16 10:51:01

zn123
回复: 0

怎么配置设备树才能把lvds用起来,大佬们多多指点

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn