版本啊。我按手册移植linux移植后系统可以启动,只是老重启。麻烦帮忙啊……
u-boot直接用天嵌做好的。
内核用的是天嵌提供的linux_2.6.30.4版本的
文件系统也是根据手册自己移植的
内核,文件系统烧写进NnadFlash后可以正常启动,进入系统,但过不多久系统就自己关闭重启了。
以下是我复制的一部分信息。系统启动后就随便执行了2个命令,然后就自己重启了,这是在Norflash 模式下的。在Nandflash模式下也一样自动重启。
内核编译时用的配置文件是天嵌提供的config_EbedSkyW35这个配置。
另外:我又自己在网上下载linux_2.6.30.4版本的内核,自己进行配置编译(在s3c2410_defconfig的基础上)后烧写,是可以正常启动的,只是我一直弄不好网卡驱动。
ifconfig eth0 hw ether 10:23:45:67:89:ab
eth0: link down
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found
add default gw 192.168.1.2
Done
Please press Enter to activate this console.
[root@EmbedSky /]# ls
bin lib opt sddiks udisk
dev linuxrc proc sddisk usr
etc lost+found root sys var
home mnt sbin tmp web
[root@EmbedSky /]# ifconfig
eth0 Link encap:Ethernet HWaddr 10:23:45:67:89:AB
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:51 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[root@EmbedSky /]# *** Warning - bad CRC or NAND, using default environment
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
##### Boot for Nor Flash Main Menu #####
##### EmbedSky USB download mode #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand Flash
[l] Set LCD Parameters
[n] Enter TFTP download mode menu
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: