由于要升级Linux内核,修改logo,我看了本论坛的某位说升级到Linux 2.6.32时,会报空间不足,和我遇到的情况完全相同。于是按照他的帖子修改。详细情况如下:
我在按照mini2440用户手册-2010-2-4.pdf 上的步骤升稼核,首先按[F]对NAND FLASH进行分区,接下来烧写supervivi-128M成功后,再接着烧写zImage_T35,出现错误如下:
Length of file is too big : 2517028 > 2097152
Failed downloading file
我查看了一下,新的内核文件有2.4M, 而旧的内核文件只有1.94M,现在提示空间不够。于是我按照eddylau版主所说的
这是由于format后的kernel 分区只有2M, 而新的内核文件有2.4M,
因此便会出现错误Length of file is too big : 2517028 > 2097152
要解决这问题, 可用part指令自行更改分区的大小:
press q to goto shell of vivi
> part del kernel
> part del root
> part add kernel 0x00060000 0x00500000 0
> part add root 0x00560000 0x40000000 0
> part save
并且更新了新版的supervivi到nor flash,但是当我再次启动ARM9时,就报找不到启动地址。
initializing s3c2440 camera interface......
s3c2440 camif init done
Loading OV9650 driver.........
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
No OV9650 found!!!
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
s3c-sdi s3c2440-sdi: powered down.
s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
#0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-03-28 17:26:34 UTC (126979
7194)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 160K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
Backtrace:
[<c0035270>] (dump_backtrace+0x0/0x10c) from [<c03958f0>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c0503ed0 r5:c0503660 r4:c04c61a0
[<c03958d8>] (dump_stack+0x0/0x1c) from [<c0395940>] (panic+0x4c/0x134)
[<c03958f4>] (panic+0x0/0x134) from [<c00305a4>] (init_post+0xec/0x178)
r3:00000000 r2:c3954200 r1:c0539000 r0:c045348c
[<c00304b8>] (init_post+0x0/0x178) from [<c00084c4>] (kernel_init+0xf4/0x124)
r5:c00205d4 r4:c00205d4
[<c00083d0>] (kernel_init+0x0/0x124) from [<c004d1a4>] (do_exit+0x0/0x62c)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
?