天嵌 ARM开发社区

 找回密码
 注册
楼主: 亚瑟王

统计Linux移植不成功的症状(以4.0版本的移植手册为基准)

[复制链接]
小点儿 发表于 2010-2-1 09:24:34 | 显示全部楼层
请问何时能够给予解决啊?
ntlbl 发表于 2010-2-2 11:20:49 | 显示全部楼层
本帖最后由 ntlbl 于 2010-2-2 11:23 编辑

14# wsmahan


我编译过程如下:
1、格式化flash(只有在有bad block时用)
2、烧写uboot(目前使用天嵌光盘TQ2440_CD\出厂烧录镜像合集\东华3.5寸屏的镜像\U-boot)
3、烧写内核
  i、使用TQ2440_CD\Linux资源\Linux源码包\2.6.30.4\linux-2.6.30.4_20091030.tar.bz2
   ii、解压到\
   iii、cd  /opt/EmbedSky/linux-2.6.30.4/
   iv、编辑menuconfig           make menuconfig
         选load  xxxxx        之后    根据自己的板子, 填入config文件 config_EmbedSky_W35_256MB
        对configuration修改,可以不修改
  v、保持为 .config 退出
  vi、制作镜像文件       make zImage.bin
4、烧写文件系统 TQ2440_CD\出厂烧录镜像合集\Linux文件系统镜像\ root_qtopia_2.2.0_2.6.30.4_256MB_20091030.bin
5、再8选择启动 ---- 成功

说明:
1、我先用天嵌提供的资料安装烧写成功,然后根据自己要求再裁减。
2、目前我也有很多问题,希望大家一起讨论。
我的联系方式:
MSN: jslbl2009@hotmail.com
QQ:jslbl2009@qq.com
wsmahan 发表于 2010-2-3 15:21:39 | 显示全部楼层
12# ntlbl 兄弟,文件系统有没搞定了?
yyf 发表于 2010-3-3 16:33:33 | 显示全部楼层
我完全按照手册一步一步做的,试了N次,结果都出现以下错误,请问是什么原因造成的,怎么解决啊?
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mtdblock2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0100       4096 ram0 (driver?)
0101       4096 ram1 (driver?)
0102       4096 ram2 (driver?)
0103       4096 ram3 (driver?)
0104       4096 ram4 (driver?)
0105       4096 ram5 (driver?)
0106       4096 ram6 (driver?)
0107       4096 ram7 (driver?)
0108       4096 ram8 (driver?)
0109       4096 ram9 (driver?)
010a       4096 ram10 (driver?)
010b       4096 ram11 (driver?)
010c       4096 ram12 (driver?)
010d       4096 ram13 (driver?)
010e       4096 ram14 (driver?)
010f       4096 ram15 (driver?)
1f00     262144 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
敬请指教。
rechured 发表于 2010-3-4 22:12:07 | 显示全部楼层
NAND ID is 0xecf1
Set boot params = root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320
Load Kernel...
Uncompressing Linux..................................................................................................................... done, booting the kernel.
Linux version 2.6.30.4 (rechured@rechured-desktop) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #2 Thu Mar 4 21:32:58 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320
NR_IRQS:99
irq: clearing pending ext status 0005f600
irq: clearing subpending status 00000093
irq: clearing subpending status 00000092
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61060KB available (3232K code, 332K data, 136K init, 0K highmem)
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
dm9000 Ethernet Driver, V1.31
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 443 at 0x000003760000
Bad eraseblock 444 at 0x000003780000
Bad eraseblock 445 at 0x0000037a0000
Bad eraseblock 446 at 0x0000037c0000
Bad eraseblock 447 at 0x0000037e0000
Bad eraseblock 448 at 0x000003800000
Bad eraseblock 449 at 0x000003820000
Bad eraseblock 450 at 0x000003840000
Bad eraseblock 451 at 0x000003860000
Bad eraseblock 452 at 0x000003880000
Bad eraseblock 549 at 0x0000044a0000
Bad eraseblock 665 at 0x000005320000
Bad eraseblock 932 at 0x000007480000
Bad eraseblock 981 at 0x000007aa0000
Creating 5 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000000020000 : "boot"
0x000000180000-0x000000280000 : "MyApp"
0x000000500000-0x000000800000 : "kernel"
0x000000800000-0x000004400000 : "fs_yaffs"
0x000004480000-0x000008000000 : "wince"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Advanced Linux Sound Architecture Driver Version 1.0.20.
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
List of all partitions:
1f00             128 mtdblock0 (driver?)
1f01            1024 mtdblock1 (driver?)
1f02            3072 mtdblock2 (driver?)
1f03           61440 mtdblock3 (driver?)
1f04           60928 mtdblock4 (driver?)
No filesystem could mount root, tried:  cramfs vfat msdos iso9660 romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[<c0030740>] (unwind_backtrace+0x0/0xdc) from [<c028c7dc>] (panic+0x40/0x110)
[<c028c7dc>] (panic+0x40/0x110) from [<c0008fcc>] (mount_block_root+0x1d0/0x210)
[<c0008fcc>] (mount_block_root+0x1d0/0x210) from [<c0009264>] (prepare_namespace+0x164/0x1bc)
[<c0009264>] (prepare_namespace+0x164/0x1bc) from [<c0008598>] (kernel_init+0xb4/0xe0)
[<c0008598>] (kernel_init+0xb4/0xe0) from [<c004f144>] (do_exit+0x0/0x578)
[<c004f144>] (do_exit+0x0/0x578) from [<00000001>] (0x1)

No filesystem could mount root ???
之后怎么搞,请高人指点
fs_yaffs分区烧的是2.6.28的touch.yaffs
xiaye 发表于 2010-3-25 16:38:42 | 显示全部楼层
你好我有问题请教,请给予帮助,真的很着急,身边也没有可以问的人,我现在往sky-2440上移植linux镜像文件出现如下问题。
一、我已经移植好u-boot,是光盘里面自带的。东华3.5寸屏的。u-boot_W35_20091031。
二、现在我继续用光盘中自带的linux镜像文件烧录。为zImage_2.6.13_W35_64MB。
三、我是通过tftp网络方式烧写的。
    (1)我首先配置了宿主机的tftp服务。这里我想请教除了启动完tftp服务,是否还需要设置网卡啊。就是设置虚拟机中linux的网卡,在虚拟机中设置。这里我不太明白,请指教。(在做实验时我也把这个ip地址给配置了一遍)
    (2)然后我启动超级终端,有给开发板上电。进nand flash中,我分别配置了本机的ip,和服务器的ip,然后,我就使用命令tftp 30008000 zImage_2.6.13_W35_64MB.bin (我事先已经把zimage这个文件放进tftp共享目录中了,并且给起了一个比较好记的名字zimage.bin),但是这里却出现问题,问题如下。
      ftp 30008000 zimage.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
TFTP from server 192.168.1.8; our IP address is 192.168.1.6
Filename 'zimage.bin'.
Load address: 0x30008000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
我已经停留在这里好几天了,做不下去了,请各位高手知道的给出解决办法。谢谢!
bluekeys 发表于 2010-3-29 21:58:09 | 显示全部楼层
我是新手 #make zImage时遇到问题,如下:
[root@Embedsky linux-2.6.30.4]# make zImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CC      scripts/mod/empty.o
as: unrecognized option '-EL'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
好像问题还比较多 时间比较急,敬请指教!
duguyiqiang 发表于 2010-4-6 10:05:05 | 显示全部楼层
19# yyf
遇到同样的问题,有高手吗?
xiaye 发表于 2010-4-6 17:39:02 | 显示全部楼层
请解答一下这是怎么回事,我的开发板配置如下:ip:211.81.251.121,
                                          子网掩码:255.255.255.0
                                                                  dns:211.81.251.125
                                                                  默认网关:211.81.251.1
                                    我的主机配置如下:ip:211.81.251.125
                                                            子网掩码:255.255.255.0
                                                             dns:211.81.251.125
                                                            默认网关:211.81.251.121
                                    虚拟机配置如下:ip:211.81.251.122
                                                            子网掩码:255.255.255.0
                                                              dns:211.81.251.125
                                                                  默认网关:211.81.251.1
当我在nand下进入bios时ping主机时出现,211.81.251.125 is alive
但是当我启动开发板后,ping主机却出现,reguest timed out
主机ping开发板也是这个问题,我想问问到底是怎么回事,请帮忙解决一下,最好具体一点,我比较笨啊。弄不懂。
danshi126 发表于 2010-4-23 20:49:21 | 显示全部楼层
怎么没有4.0版本的移植手册啊
guohongwei719 发表于 2010-4-24 10:04:59 | 显示全部楼层
我下载文件系统到nand flash里去后,重启发现显示如下:
我的板子是256MB的,所以就mkyaffs2image root_2.6.30.4 root_2.6.30.4.bin,之后把镜像烧写进开发板..

说明下我烧写的步骤:
1.格式化flash(选项1)完全格式了..
2.烧写uboot
3.烧写内核镜像文件(zImage.bin)
4.烧写文件系统(root_2.3.30.4.bin)


##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
Booting Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux....................................................................................................................... done, booting the kernel.
Linux version 2.6.30.4-EmbedSky (root@localhost.localdomain) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #2 Sat Apr 24 00:02:01 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60944KB available (3368K code, 343K data, 112K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
yaffs Apr 23 2010 23:59:31 Installing.
msgmni has been set to 119
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
GPIO-Control initialized
PWM-Test initialized
adc initialized
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c4814000,c4818004 IRQ 51 MAC: 10:23:45:67:89:ab (EmbedSky)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 941 at 0x0000075a0000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "EmbedSky_Board_uboot"
0x000000200000-0x000000400000 : "EmbedSky_Board_kernel"
0x000000400000-0x00000ff80000 : "EmbedSky_Board_yaffs2"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: starting watchdog timer
s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
Advanced Linux Sound Architecture Driver Version 1.0.18a.
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2008-11-20 14:02:53 UTC (1227189773)
s3c2440-sdi s3c2440-sdi: powered down.
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 910 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 112K

Please press Enter to activate this console.
[\u@\h \W]#


不知怎么回事,我在sysconfig/HOSTNAME  init.d/rcS  profile里德配置也都没什么问题,而正确的应该是[root@EmbedSky],怎么变了?
DonyChen 发表于 2010-5-5 22:55:58 | 显示全部楼层
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
Booting Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux..................................................................................................................... done, booting the kernel.

到这里就不会跑了,然后是花屏,什么问题呀?
monday125 发表于 2010-5-16 00:43:21 | 显示全部楼层
不错 学习啊 天嵌
monday125 发表于 2010-5-16 13:32:33 | 显示全部楼层
正在移植linux,正好学习
tamb 发表于 2010-5-18 08:43:34 | 显示全部楼层
请问这个make zImage失败是怎么回事呢??我用arm-linux-gcc -v也显示的是gcc 4.3.3版本的!

[root@localhost linux-2.6.30.4]# cp -f config_EmbedSky_W35_256MB .config
[root@localhost linux-2.6.30.4]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/arm/Kconfig


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

You have new mail in /var/spool/mail/root
[root@localhost linux-2.6.30.4]# make zImage
make: arm-linux-gcc: Command not found
                ??  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
make: arm-linux-gcc: Command not found
                ??  CHK     include/linux/version.h
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      kernel/bounds.s
/bin/sh: line 1: arm-linux-gcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
谢谢这个问题很急!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-6-2 00:16 , Processed in 1.046875 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表