<哥哥姐姐们,求。。。助!>RTL819x_SDK_V2.5内核编译出错啦~~~~~~
小弟在编译rtl8196c内核的时候出错了,我根据帮助文档来的,文档里给的步骤是:
1. Build Environment
Fedora 9
Ubuntu 8.10/9.10
2. Quick start
- tar xjvf rtl819x.tbz2
- cd rtl819x/
- make menuconfig:
--for 8196c
Select Target(rtl8196c)
Select Kernel (linux-2.6.30)
Select Busybox (busybox-1.13)
Select toolchain (rsdk-1.3.6-4181-EB-2.6.30-0.9.30)
Selected Target of SDK (11nRouter_GW) --->
Select Board Configuration(SPI flash + Squashfs)
Select Load default settings
--for 8196c-pocketAP
Select Target(rtl8196c)
Select Kernel (linux-2.6.30)
Select Busybox (busybox-1.13)
Select toolchain (rsdk-1.3.6-4181-EB-2.6.30-0.9.30)
Selected Target of SDK (11nPocket_Router) --->
Select Board Configuration(SPI flash + Squashfs)
Select Load default settings
-- for 8196c MP
Select Target(rtl8196c)
Select Kernel (linux-2.6.30)
Select Busybox (busybox-1.13)
Select toolchain (rsdk-1.3.6-4181-EB-2.6.30-0.9.30)
Selected Target of SDK (11nRouter_GW) --->
Selected Board Configuration (MP)
Select Load default settings
--for 8198
Select Target(rtl8198)
Select Kernel (linux-2.6.30)
Select Busybox (busybox-1.13)
Select toolchain (rsdk-1.3.6-5281-EB-2.6.30-0.9.30)
Select Board Configuration(SPI flash + Squashfs)
Select Load default settings
--for 8198 MP
Select Target(rtl8198)
Select Kernel (linux-2.6.30)
Select Busybox (busybox-1.13)
Select toolchain (rsdk-1.3.6-5281-EB-2.6.30-0.9.30)
Select Board Configuration(MP)
Select Load default settings
--other combinations please refer to 'user guide' for more details
- make
3. make image
there are four steps for making image:
- make users
build the users applications
- make linux
build the kernel files
- make romfs
copy all the application binary files into romfs
- make image
compress the root.bin and linux.bin
因为我要给板子烧一个支持nfs文件系统的系统。所有在make linux之前make linux_menuconfig设置Network File System,添加了nfs文件系统。但是最后make image会报错:
/home/weizhengh/RTL8196_SDK/rtl819x-sdk-v2.5/rtl819x/users/goahead-2.1.1/LINUX/cvimg linux-ro nfjrom linux.bin 0x80500000 0x30000
Generate image successfully, length=891906, checksum=0x852a
==============================================
Summary ==>
Image loading addr :0x80500000
Image decompress end addr :0x802f8010
Available size :0x00207ff0
==============================================
Summary ==>
Image flash start addr :0x30000
Image flash end addr :0x109c12
Error!!!! : Kernel image too big will overwirte rootfs image, cur size(891922), available size(851968).
我就截一点点日志了。前辈们你们知道这是为什么吗?我该怎么做?谢谢了~~~
------解决方案--------------------flash重新分区吧。
------解决方案--------------------看起来是内核过大
------解决方案--------------------cur size(891922), available size(851968)
内核大小为891922大于可用空间851968.
------解决方案--------------------重新设计并划分FLASH的分区,前提是FLASH的物理容量支持那么大的容量。