|
有一台电信网关EG766HW,Cavium Octeon 5010 的CPU, 尝试刷入openwrt 并做相应改动后
已经可以读入内存并引导openwrt,但是停在了Initrd not found or empty - disabling initrd
帮忙看一下env参数要如何修改?
U-Boot 1.1.1 (Build time: Mar 2 2011 - 11:08:21)
Net: octeth0, octeth1
Bus 0 (CF Card): OK
Bus 1 (CF Card): not available
reading bin.conf
19 bytes read
prim_bin:vmlinux.64
second_bin:*
** Loading the primary bin... **
reading vmlinux.64
4874376 bytes read
** magic number check! **
** md5 code check! **
ELF file is 64 bit
[ 0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r46450) ) #1 SMP Fri Sep 4 18:32:59 CEST 2015
[ 0.000000] CVMSEG size: 2 cache lines (256 bytes)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[ 0.000000] Checking for the multiply/shift bug... no.
[ 0.000000] Checking for the daddiu bug... no.
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 000000000d800000 @ 0000000002600000 (usable)
[ 0.000000] memory: 00000000014fd878 @ 0000000001100000 (usable)
[ 0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[ 0.000000] Initrd not found or empty - disabling initrd
#printenv
bootcmd=startios;bootoctlinux aa00100
bootdelay=0
baudrate=9600
download_baudrate=9600
ipaddr=192.168.100.2
serverip=192.168.100.1
bootloader_flash_update=erase 1f800000 1fbdffff;cp.b $(fileaddr) 1f800000 $(filesize)
linux_cf=fatload ide 0 $(loadaddr) vmlinux.64;bootoctlinux $(fileaddr)
burn_app=erase bbb00000 +$(filesize);cp.b $(fileaddr) bbb00000 $(filesize)
ls=fatls ide 0
bf=bootoct bbb00000 forceboot numcores=$(numcores)
nuke_env=protect off 1FBE0000 1FBFffff; erase 1FBE0000 1FBFffff
autoload=n
hcload=tftp $(loadaddr) vmlinux.64;bootoctlinux $(fileaddr)
hcfile=loadb;autoscr $(fileaddr);saveenv mute
hcnewboot=fatload ide 0 $(fileaddr) mig2000.bin;run bootloader_flash_update
hcnetload=tftp $(loadaddr) vmlinux.64;bootoctlinux $(loadaddr)
ethact=octeth0
filesize=0xBF
fileaddr=0xAA00000
octeon_mac_base=
serial#=
user_desc=EG766HW
province=0
loadaddr=0xaa00000
numcores=2
stdin=serial
stdout=serial
stderr=serial
env_addr=0x1fbe0000
env_size=0x20000
flash_base_addr=0x1f800000
flash_size=0x400000
Environment size: 1044/131068 bytes
|
|