破案了,根文件系统要求squashfs,默认配置是ext4格式文件系统,make menuconfig改成squashfs,同时禁用ext4,就可以了
wxgd2017 发布的最佳帖子
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
wxgd2017 发布的最新帖子
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@zhangheyang
#kernel command arguments
earlyprintk=sunxi-uart,0x02500000
initcall_debug=0
console=ttyS0,115200
nand_root=/dev/ubiblock0_5
mmc_root=/dev/mmcblk0p5
nor_root=/dev/mtdblock5
mtd_name=sys
rootfstype=squashfs
root_partition=rootfs
boot_partition=boot
init=/sbin/init
loglevel=8
cma=0M
mac=
wifi_mac=
bt_mac=
specialstr=
keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
dsp0_partition=dsp0
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
#nand command syntax: sunxi_flash read address partition_name read_bytes
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0
boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000
boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
boot_fastboot=fastboot#uboot system env config
bootdelay=2
#default bootcmd, will change at runtime according to key press
#default nand boot
bootcmd=run setargs_nand boot_normal -
回复: T113+tina,RMII连接10Mbps/Half,能发送,不能接收
破案了,原来是linux kernel的device drivers > network device support > PHY Device support ...下使能了RTL-8363NB。禁用RTL8201F就变成100M,网络也正常了。
-
T113+tina,RMII连接10Mbps/Half,能发送,不能接收
phy是RTL8201F,board.dts配置RMII,linux系统下显示10Mbps/Half,能发送,不能接收。电脑端显示100M,也无法接收,和解?
[ 7.447421] libphy: 4500000.eth: probed [ 7.454977] sunxi-gmac 4500000.eth eth0: eth0: -Type(7) PHY ID 00070007 at 0 IRQ poll (4500000.eth-0:00) priv->phy_ext: 1 [ 7.484909] sunxi-gmac 4500000.eth eth0: Link is Up - 10Mbps/Half - flow control off
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
破案了,根文件系统要求squashfs,默认配置是ext4格式文件系统,make menuconfig改成squashfs,同时禁用ext4,就可以了