
不可否認,這是一個很大的內核跳躍。 2.6 沒有設備樹的概念,我還沒有為我的產品創建設備樹。因此,只需在板文件中使用舊形式的 UART 設定預設設備樹檔案。我認為,核心在沒有 UART 的情況下啟動,因為在「啟動核心...」之後沒有任何反應。
任何意見都將受到高度讚賞。謝謝
U-Boot> setenv linux1 'tftpboot 20cfffc0 kernel.latest'
U-Boot>
U-Boot> setenv linux2 'tftpboot 206fffc0 initrd.latest'
U-Boot>
U-Boot> setenv linux3 'bootm 20cfffc0'
U-Boot>
U-Boot> setenv bootlinux 'run linux1 linux2 linux3'
U-Boot>
U-Boot> setenv ipaddr
U-Boot>
U-Boot> setenv serverip
U-Boot>
U-Boot> setenv resetuser
U-Boot>
U-Boot> run bootlinux
BCM5241A PHY Detected
waited 1680 msec
End of Autonegotiation
TFTP from server ; our IP address is
Filename 'kernel.latest'.
Load address: 0x20cfffc0
Loading: #################################################################
########################################################
done
Bytes transferred = 1764880 (1aee10 hex)
TFTP from server ; our IP address is ---
Filename 'initrd.latest'.
Load address: 0x206fffc0
Loading: #################################################################
#################################################################
##################################
done
Bytes transferred = 2405916 (24b61c hex)
## Booting kernel from Legacy Image at 20cfffc0 ...
Image Name: WLNN_9G20_4.99
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1764816 Bytes = 1.7 MB
Load Address: 20d00000
Entry Point: 20d00000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...