應該是缺少 /dev/console 和 /dev/null 這兩個東西 , 導致錯誤.....
大大看能不能先用別的作業系統開 , 然後再把原來有問題的舊系統掛上去.
然後再試試下這一些command
# cd /dev
# mknod -m 660 console c 5 1
# mknod -m 660 null c 1 3
之後重啟 , 應該就ok了....
================================================
我試了aizr1212 的方法:
在 linux shell 下
# cd /dev
# mknod -m 660 console c 5 1
# mknod -m 660 null c 1 3
回應是:
mknod: 'console':File exists
mknod: 'null' :File exists
因為不知道怎麼辦 我就加在一個rootf-prov-release目錄下的/dev
後來就沒有 unable to open an init. console 的問題, 但是出現了...... *******LOAD firmware to AP:PERI_ID result:0Load into PERI_AP APU Successful !!!
intialize NAND Flash driver
reg[ 0xb9148000 ] = 0xf6. is 0xF6?
reg[ 0xb9148004 ] = 0x3656ffc2
reg[ 0xb9040000 ] = 0x682
reg[ 0xb90b0000 ] = 0x0
get_nand_type: maf_id = 0xad, dev_id = 0xda
NAND Flash: write sz = 2048, oob sz = 64, erase sz = 131072
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
ECC Information:
oob available( 38 ), steps = 8, ecc size = 256 ecc bytes = 3, write size = 2048, total = 24
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x04000000 : "sys1_db"
0x04000000-0x08000000 : "sys2_db"
0x08000000-0x0a000000 : "user1"
Kernel RTP Thread is started
0x0a000000-0x0c000000 : "user2"
0x0c000000-0x10000000 : "voice data"
Successfully adding mtd device and partitions for NAND flash
init GPIO for the restore button
reg[ 0xb9040000 ] = 0x602
reg[ 0xb9040012 ] = 0x0
reg[ 0xb9040016 ] = 0x0
init GPIO for the restore button, SUCCESSFULLY
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 148k freed
enable_system_watchdog: duration = 1000ms, register val = 0x2710
appwd_counter: set to 1( 1 )
appwd_counter: set to 0( 0 )
Mounting /dev/mtdblock3 on /sysconf failed: No such file or directory
Mounting /dev/mtdblock10 on /voice failed: No such file or directory
Mounting /dev/mtdblock6 on /isql failed: No such file or directory
Mounting /dev/mtdblock8 on /usr failed: No such file or directory
gpio val = 0xf9ff, restore val = 0x80
gpio val = 0xf9ff, restore val = 0x80
gpio val = 0xf9ff, restore val = 0x80
gpio val = 0xf9ff, restore val = 0x80
Restoring to the factory setting, please wait for several minutes ...之後mainboard就會重開機......到這又...重開....again and again..