help ,about compile uclinux
# make image[ -d /opt/uClinux-dist/images ] || mkdir /opt/uClinux-dist/images
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C /opt/uClinux-dist/vendors/Samsung/4510B/. image
make: Entering directory `/opt/uClinux-dist/vendors/Samsung/4510B'
[ -d /opt/uClinux-dist/images ] || mkdir -p /opt/uClinux-dist/images
genromfs -v -V "ROMdisk" -f /opt/uClinux-dist/images/romfs.img -d /opt/uClinux-dist/romfs
0 ROMdisk 37777777777, sz 0, at 0x0
1 . 0040755, sz 0, at 0x20
1 .. 0040755, sz 0, at 0x40
1 home 0040755, sz 0, at 0x60
2 .. 0040755, sz 0, at 0x80
2 . 0040755, sz 0, at 0xa0
1 lib 0040755, sz 0, at 0xc0
2 .. 0040755, sz 0, at 0xe0
2 . 0040755, sz 0, at 0x100
1 var 0040755, sz 0, at 0x120
2 .. 0040755, sz 0, at 0x140
2 . 0040755, sz 0, at 0x160
1 dev 0040755, sz 0, at 0x180
2 tty2 0020644, sz 0, at 0x1a0
2 ram0 0060644, sz 0, at 0x1c0
2 ptypa 0020644, sz 0, at 0x1e0
2 ptyp0 0020644, sz 0, at 0x200
2 ttypf 0020644, sz 0, at 0x220
2 ptyp7 0020644, sz 0, at 0x240
2 rom2 0060644, sz 0, at 0x260
2 ttyS1 0020644, sz 0, at 0x280
2 null 0020644, sz 0, at 0x2a0
2 ptyp2 0020644, sz 0, at 0x2c0
2 .. 0040755, sz 0, at 0x2e0
2 ttyp5 0020644, sz 0, at 0x300
2 ttypd 0020644, sz 0, at 0x320
2 rom4 0060644, sz 0, at 0x340
2 tty1 0020644, sz 0, at 0x360
2 ptype 0020644, sz 0, at 0x380
2 ptypf 0020644, sz 0, at 0x3a0
2 ptyp9 0020644, sz 0, at 0x3c0
2 . 0040755, sz 0, at 0x3e0
2 ttypa 0020644, sz 0, at 0x400
2 ptyp1 0020644, sz 0, at 0x420
2 ttyp2 0020644, sz 0, at 0x440
2 ptyp4 0020644, sz 0, at 0x460
2 random 0020644, sz 0, at 0x480
2 ttyp6 0020644, sz 0, at 0x4a0
2 ttyp7 0020644, sz 0, at 0x4c0
2 cua1 0020644, sz 0, at 0x4e0
2 ram1 0060644, sz 0, at 0x500
2 ptypd 0020644, sz 0, at 0x520
2 ptypb 0020644, sz 0, at 0x540
2 ptyp6 0020644, sz 0, at 0x560
2 ptypc 0020644, sz 0, at 0x580
2 rom5 0060644, sz 0, at 0x5a0
2 rom0 0060644, sz 0, at 0x5c0
2 ttyp0 0020644, sz 0, at 0x5e0
2 ptyp8 0020644, sz 0, at 0x600
2 tty 0020644, sz 0, at 0x620
2 rom3 0060644, sz 0, at 0x640
2 ptyp5 0020644, sz 0, at 0x660
2 ttyp9 0020644, sz 0, at 0x680
2 ttypb 0020644, sz 0, at 0x6a0
2 rom8 0060644, sz 0, at 0x6c0
2 tty3 0020644, sz 0, at 0x6e0
2 ttyS0 0020644, sz 0, at 0x700
2 rom1 0060644, sz 0, at 0x720
2 rom7 0060644, sz 0, at 0x740
2 kmem 0020644, sz 0, at 0x760
2 ttyp4 0020644, sz 0, at 0x780
2 ttyp1 0020644, sz 0, at 0x7a0
2 tty0 0020644, sz 0, at 0x7c0
2 mem 0020644, sz 0, at 0x7e0
2 ttypc 0020644, sz 0, at 0x800
2 ttyp8 0020644, sz 0, at 0x820
2 rom6 0060644, sz 0, at 0x840
2 rom9 0060644, sz 0, at 0x860
2 urandom 0020644, sz 0, at 0x880
2 cua0 0020644, sz 0, at 0x8a0
2 ttype 0020644, sz 0, at 0x8c0
2 console 0020644, sz 0, at 0x8e0
2 zero 0020644, sz 0, at 0x900
2 ttyp3 0020644, sz 0, at 0x920
2 ptyp3 0020644, sz 0, at 0x940
1 proc 0040755, sz 0, at 0x960
2 .. 0040755, sz 0, at 0x980
2 . 0040755, sz 0, at 0x9a0
1 sbin 0120777, sz 4, at 0x9c0
1 tmp 0120777, sz 8, at 0x9f0
1 bin 0040755, sz 0, at 0xa20
2 ftp 0100744, sz 110876, at 0xa40
2 .. 0040755, sz 0, at 0x1bb80
2 route 0100744, sz 75116, at 0x1bba0
2 . 0040755, sz 0, at 0x2e130
2 uptime 0100744, sz 0, at 0x2e150
2 du 0100744, sz 0, at 0x2e170
2 telnetd 0100744, sz 47312, at 0x2e190
2 dhcpcd 0100744, sz 81764, at 0x39a80
2 mount 0100744, sz 0, at 0x4da10
2 ifconfig 0100744, sz 63352, at 0x4da30
2 busybox 0100744, sz 0, at 0x5d1d0
2 hostname 0100744, sz 0, at 0x5d1f0
2 inetd 0100744, sz 36384, at 0x5d210
2 telnet 0100744, sz 113960, at 0x66050
2 umount 0100744, sz 0, at 0x81da0
2 arp 0100744, sz 62972, at 0x81dc0
2 sh 0100744, sz 71408, at 0x913e0
2 ping 0100744, sz 57960, at 0xa2af0
2 basename 0100744, sz 0, at 0xb0d80
2 dmesg 0100744, sz 0, at 0xb0da0
2 date 0100744, sz 0, at 0xb0dc0
2 init 0100744, sz 28108, at 0xb0de0
2 expand 0100744, sz 27576, at 0xb7bd0
1 etc 0040755, sz 0, at 0xbe7b0
2 .. 0040755, sz 0, at 0xbe7d0
2 . 0040755, sz 0, at 0xbe7f0
2 ramfs.img 0100644, sz2874, at 0xbe810
2 inittab 0100644, sz 47, at 0xbf370
2 version 0100644, sz 62, at 0xbf3c0
2 rc 0100644, sz 282, at 0xbf420
2 passwd 0100644, sz 21, at 0xbf560
2 inetd.conf 0100644, sz 44, at 0xbf5a0
2 services 0100644, sz8205, at 0xbf5f0
2 motd 0100644, sz 296, at 0xc1620
1 mnt 0040755, sz 0, at 0xc1770
2 .. 0040755, sz 0, at 0xc1790
2 . 0040755, sz 0, at 0xc17b0
1 usr 0040755, sz 0, at 0xc17d0
2 .. 0040755, sz 0, at 0xc17f0
2 . 0040755, sz 0, at 0xc1810
arm-elf-objcopy -O binary --remove-section=.romvec \
--remove-section=.text --remove-section=.ramvec \
--remove-section=.init \
--remove-section=.bss --remove-section=.eram \
/opt/uClinux-dist/linux-2.4.x/linux /opt/uClinux-dist/images/linux.data
arm-elf-objcopy: /opt/uClinux-dist/linux-2.4.x/linux: ?????????
make: *** 错误 1
make: Leaving directory `/opt/uClinux-dist/vendors/Samsung/4510B'
make: *** 错误 2 应该是没有生成 linux 文件, 你用 make 不带参数再做一次就好了.:wink:
页:
[1]