question about ramdisk of cross-compiler-toolchain 3.4.4?

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

caiyuchina
Posts: 5
Joined: Mon May 15, 2006 3:00 am

question about ramdisk of cross-compiler-toolchain 3.4.4?

Mon May 15, 2006 10:53 am

my kernel is linux-2.6.10
my cross-compiler is 3.4.4. when i use this cross-compiler to busybox ,the ramdisk stop at Freeing init memory: 80K. what's wrong with my ramdisk?

Starting kernel ...

Linux version 2.6.10 (root@linuxdev) (gcc version 3.4.4 (release) (CodeSourcery
ARM 2005q3-2)) #1 Mon May 15 12:07:44 CST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
CPU: D VIVT write-back cache
CPU: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Machine: ATMEL AT91RM9200
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: root=/dev/ram rw initrd=0x21100000,6000000 ramdisk__size=15
360 console=ttyS0,115200 menm32M
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 24800KB available (1331K code, 290K data, 80K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like a
n initrd
Freeing initrd memory: 5859K
NET: Registered protocol family 16
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
AT91 Watchdog Timer enabled (5 seconds)
AT91 SPI driver loaded
ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
ttyS2 at MMIO 0xfefc0000 (irq = 6) is a AT91_SERIAL
ttyS3 at MMIO 0xfefc8000 (irq = 8) is a AT91_SERIAL
ttyS4 at MMIO 0xfefcc000 (irq = 9) is a AT91_SERIAL
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth%d: Link now 100-FullDuplex
eth%d: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:00:00:00:00:00)
eth%d: Davicom 9196 PHY (Copper)
elevator: using anticipatory as default io scheduler
physmap flash device: 200000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Found AT91 i2c
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 7680KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 80K
Manuel Dicke
Posts: 9
Joined: Tue Apr 18, 2006 2:22 pm

re Question

Mon May 15, 2006 2:44 pm

hello caiyuchina,

I try the same at that moment. I've taken an ramdisk from atmel and have modified it.
My image run.

Download ramdisk from at91.com
rename it to ramdisk.gz
unzip it with gunzip
then you can mount it as a device and
copy your busybox and glibc / uClibc libs in it
unmount the image
compress it with gzip

and your very first image run

Best Regards
Manuel
patrick.s
Posts: 12
Joined: Tue Mar 01, 2005 2:59 pm

Thu May 18, 2006 8:16 am

hi Manuel,

are you saying that the root_fs content (i.e busybox) must be compiled with the same cross-tools as that of kernel-compilation?

hi, caiyuchina,

Have you solved your problem? If so how?

brgds
patrick
caiyuchina
Posts: 5
Joined: Mon May 15, 2006 3:00 am

Fri May 19, 2006 9:40 am

patrick.s wrote:hi Manuel,

are you saying that the root_fs content (i.e busybox) must be compiled with the same cross-tools as that of kernel-compilation?

hi, caiyuchina,

Have you solved your problem? If so how?

brgds
patrick
i have resolve this! at91rm9200dk can not use cross-3.4.4!
use cross-3.4.1 is very good!

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 1 guest