④退出
退出后进行参数设置,参数的设置选择会自动按照vendors/Samsung/44B0 里的配置文件来选择。再配置过程会出现如下需要手动选择的:
Timer and CPU usage LEDs (CONFIG_LEDS) [N/y/?] (NEW) y
Timer LED (CONFIG_LEDS_TIMER) [N/y/?] (NEW) y
CPU usage LED (CONFIG_LEDS_CPU) [N/y/?] (NEW) y
FLASH type (NONE, AMD, INTEL) [NONE] (NEW) AMD
defined CONFIG_AMDFLASH
FLASH size (AUTO, 128KB, 1MB, 2MB, 4MB, 6MB, 8MB, 16MB) [AUTO] (NEW) (回车)
defined CONFIG_FLASHAUTO
FLASH bit width (AUTO, 8bit, 16bit, 32bit) [AUTO] (NEW) (回车)
2nd flash in /dev/rom8 (CONFIG_EXTRA_FLASH) [N/y/?] (NEW) N
Serial console device (NULL, UART) [UART] (NEW) (回车)
Anakin serial port support (CONFIG_SERIAL_ANAKIN) [N/y/?] (NEW) N
S3C44B0 serial port support (CONFIG_SERIAL_S3C44B0X) [Y/n/?]
Support for console on S3C44B0 serial port (CONFIG_SERIAL_S3C44B0X_CONSOLE) [Y/n/?]
Default S3C44B0 serial baudrate (CONFIG_S3C44B0_DEFAULT_BAUDRATE) [115200] (NEW) 57600
ARM AMBA serial port support (CONFIG_SERIAL_AMBA) [N/y/?] (NEW) N
CLPS711X serial port support (CONFIG_SERIAL_CLPS711X) [N/y/?] (NEW) N
DC21285 serial port support (CONFIG_SERIAL_21285) [N/y/?] (NEW) N
Excalibur serial port (uart00) support (CONFIG_SERIAL_UART00) [N/y/?] (NEW) N
SA1100 serial port support (CONFIG_SERIAL_SA1100) [N/y/?] (NEW) N
配置完毕后会弹出 kernel setting 和 vendor/user setting的设置窗口,直接按exit保存即可。
⑶ make dep
⑷ make lib_only
⑸ make user_only
⑹ make romfs
⑺ make linux
这个编译会出现 cannot open romfs.o 这个错误提示,不理,因为romfs.o是在下一步产生的
⑻ make image
这里产生No arch/armnommu/boot/zImage 错误,不理
⑼ make linux
⑽ make image
⑿ make
编译通过后会在uClinux-dist/images 里产生三个文件:
image.ram image.rom romfs.img
image.ram 即是可以移植的。