SPG290 uClinux make 生成 linux & romfs.img
SPG290 uClinux 是port自於 uClinux-dist-20060803.tar.bz2, 這版本所採用kernel是基於 Linux kernel 2.6.17
依照內定值, make 的結果回升成一份 2.6.17 uClinux kernel, 以及romfs.img 這樣一份 root filesystem (以下簡稱微 rootfs)
export PATH=your_score_tool_path:$PATH
make CROSS_COMPILE=score-linux-elf-
這時候生成以下兩個檔案, 一個是Linux kernel一個是 rootfs
kernel: linux-2.6.x/linux
rootfs: images/romfs.img
一個展開的 rootfs 放在 romfs/
drwxr-xr-x 2 root root 4096 Jan 19 15:25 bin
drwxr-xr-x 2 root root 4096 Jan 19 14:20 dev
drwxr-xr-x 2 root root 4096 Jan 19 15:34 etc
drwxr-xr-x 2 root root 4096 Jan 19 14:20 home
drwxr-xr-x 2 root root 4096 Jan 19 14:20 lib
drwxr-xr-x 2 root root 4096 Jan 19 14:20 mnt
drwxr-xr-x 2 root root 4096 Jan 19 14:20 proc
lrwxrwxrwx 1 root root 4 Jan 19 15:25 sbin -> /bin
lrwxrwxrwx 1 root root 8 Jan 19 15:25 tmp -> /var/tmp
drwxr-xr-x 2 root root 4096 Jan 19 14:20 usr
drwxr-xr-x 2 root root 4096 Jan 19 14:20 var
依照內定值, make 的結果回升成一份 2.6.17 uClinux kernel, 以及romfs.img 這樣一份 root filesystem (以下簡稱微 rootfs)
export PATH=your_score_tool_path:$PATH
make CROSS_COMPILE=score-linux-elf-
這時候生成以下兩個檔案, 一個是Linux kernel一個是 rootfs
kernel: linux-2.6.x/linux
rootfs: images/romfs.img
一個展開的 rootfs 放在 romfs/
drwxr-xr-x 2 root root 4096 Jan 19 15:25 bin
drwxr-xr-x 2 root root 4096 Jan 19 14:20 dev
drwxr-xr-x 2 root root 4096 Jan 19 15:34 etc
drwxr-xr-x 2 root root 4096 Jan 19 14:20 home
drwxr-xr-x 2 root root 4096 Jan 19 14:20 lib
drwxr-xr-x 2 root root 4096 Jan 19 14:20 mnt
drwxr-xr-x 2 root root 4096 Jan 19 14:20 proc
lrwxrwxrwx 1 root root 4 Jan 19 15:25 sbin -> /bin
lrwxrwxrwx 1 root root 8 Jan 19 15:25 tmp -> /var/tmp
drwxr-xr-x 2 root root 4096 Jan 19 14:20 usr
drwxr-xr-x 2 root root 4096 Jan 19 14:20 var

0 Comments:
Post a Comment
<< Home