|
本帖最后由 zzjj296 于 2020-3-7 00:49 编辑
求助
使用U盘刷完wanke-emmc后进到系统ethtool eth0 显示网络为100M,看日志开机时加载的是meson8b-onecloud.dtb,使用vim修改uEnv.ini为meson8b_m201_1G.dtb后卡在Starting kernel ...无法开机。
不知是我哪步弄错了。
root@aml:/boot# vim uEnv.ini
dtb_name=/dtb/meson8b_m201_1G.dtb
bootargs=root=LABEL=ROOT_EMMC rootfstype=ext4 rootflags=data=writeback rw consol
e=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=ye
s net.ifnames=0 logo=osd1,loaded,0x7900000,${hdmimode},full
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@aml:/boot# reboot
[ ▒QA5:B;SVN:B72OC:1FF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0ASS:0;
no sdio debug board detected▒!U▒▒▒▒ʂj
BT : 15:01:18 Nov 7 2019
PMU:NONE
##### VDDEE voltage = 0x044c1100
CPU clock is 792MHz
DDR mode: 32 bit mode
DDR size: 1GB (auto)
DDR check: Pass!
DDR clock: 636MHz with 2T mode
DDR pll bypass: Disabled
DDR init use : 16655 us
HHH
Boot From SDIO C
SD_boot_type: 00000002
card_type: 00000003
0x0000009f
ucl decompress...pass
0x12345678
Boot from internal device 1st eMMC on SDIO C
TE : 301311
System Started
U-boot-00000-g8d76ead(m8b_m201_v1@master) (Nov 07 2019 - 15:01:17)
clr h-ram
DRAM: 1 GiB
relocation Offset is: 2feb8000
show partition table:
part: 0, name : logo, size : 2000000
part: 1, name : recovery, size : 2000000
part: 2, name : misc, size : 2000000
part: 3, name : boot, size : 2000000
part: 4, name : system, size : 40000000
part: 5, name : cache, size : 20000000
part: 6, name : data, size : end
aml_card_type=0x200
MMC: [mmc_register] add mmc dev_num=0, port=1, if_type=6
[mmc_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
power init
out reg=c110804c,value=dfffffff
IR init done!
register usb cfg[0][1] = 3ff67cc8
register usb cfg[2][0] = 3ff6ad74
enter emmc boot
[mmc_init] SDIO Port C:1, if_type=6, initialized OK!
[mmc_get_partition_table] skip cache partition.
Partition table get from SPL is :
name offset size flag
===================================================================================
0: bootloader 0 400000 0
1: reserved 2400000 4000000 0
2: cache 6c00000 20000000 2
3: env 27400000 800000 0
4: logo 28400000 2000000 1
5: recovery 2ac00000 2000000 1
6: misc 2d400000 2000000 1
7: boot 2fc00000 2000000 1
8: system 32400000 40000000 1
9: data 72c00000 15f400000 4
mmc read lba=0x12000, blocks=0x1
mmc read lba=0x12001, blocks=0x1
mmc_read_partition_tbl: mmc read partition OK!
Partition table verified OK !
eMMC/TSD partition table have been checked OK!
i=0,register --- emmc_key
MMC init part
Partition Map for MMC device 1 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 1368064 249856 c
2 1619968 13649920 83
device_boot_flag=2
EMMC BOOT: not init nand
do not init nand : cause boot_device_flag without nand
MMC BOOT, emmc_env_relocate_spec : env_relocate_spec 74
set_storage_device_flag: store 2
Can not find partition name "kernel"
Cannot find dev.
mmc cmd read failed
nand cmd store failed
Err imgread(L123):Fail to read 0x1000B from part[kernel] at offset 0
check dts: FDT_ERR_BADMAGIC, load default vpu parameters
vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
Net: Meson_Ethernet
init suspend firmware done. (ret:0)
cvbs trimming.1.v5: 0xa0, 0x0
reboot_mode=charging
hdmi tx power init
TV mode 1080p selected.
mode = 8 vic = 16
set HDMI vic: 16
mode is: 8
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
Hit Enter key to stop autoboot -- : 0
exit abortboot: 0
(Re)start USB(0)...
USB0: dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
Force id mode: Host
dwc_otg: No USB device found !
lowlevel init failed
USB error: all controllers failed lowlevel init
** Invalid boot device **
** Invalid boot device **
reading s805_autoscript
1330 bytes read
## Executing script at 11000000
** Invalid boot device **
** Invalid boot device **
reading uImage
6734400 bytes read
reading uInitrd
6814969 bytes read
reading uEnv.ini
254 bytes read
reading /dtb/meson8b_m201_1G.dtb
20443 bytes read
error: image data is not a fdt
key_unify_init:375,unify key config table parse fail
Err key(L47):fail in key_drv_init
## Booting kernel from Legacy Image at 14000000 ...
Image Name: Linux-5.3.8-aml-OC-BonusCloud
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6734336 Bytes = 6.4 MiB
Load Address: 00208000
Entry Point: 00208000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 15000000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6814905 Bytes = 6.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 11800000
Booting using the fdt blob at 0x11800000
Loading Kernel Image ... OK
OK
uboot time: 4564202 us.
EFUSE machid is not set.
Using machid 0xf81 from environment
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x5688001
Loading Ramdisk to 05008000, end 05687cb9 ... OK
Loading Device Tree to 05000000, end 05007fda ... OK
Starting kernel ...
|
|