[ELDK] Ramdisk image for 2.6.34 linux

alex daniloff alex_daniloff at mail.ru
Mon Jul 12 17:08:54 CEST 2010


I'am using ELDK 4.2, 2.6.34 linux with config files for my ppc460gt custom board and RFSB from git for ramdisk generation

kernel image is running with - ramdisk_size=32768 root=/dev/ram rw console=ttyS2,115200
and ramdisk size is also 32768

=> bootm 400000
WARNING: bootm_low + bootm_size exceed eff. memory
WARNING: adjusting available memory to 10000000
## Current stack ends at 0x0e7ffcd0
*  kernel: cmdline image address = 0x00400000
## Booting kernel from Legacy Image at 00400000 ...
   Image Name:   Linux Multiboot Image
   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
   Data Size:    3247416 Bytes =  3.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1493424 Bytes =  1.4 MB
      Image 1: 1733976 Bytes =  1.7 MB
      Image 2: 20000 Bytes = 19.5 kB
   Verifying Checksum ... OK
   kernel data at 0x00400050, len = 0x0016c9b0 (1493424)
## Loading init Ramdisk from multi component Legacy Image at 00400000 ...
   ramdisk start = 0x0056ca00, ramdisk end = 0x00713f58
## Flattened Device Tree from multi component Image at 00400000
   Booting using the fdt at 0x713f58
   of_flat_tree at 0x00713f58 size 0x00004e20
   Uncompressing Multi-File Image ... OK
   kernel loaded at 0x00000000, end = 0x002fc604
## initrd_high = 0x30000000, copy_to_ram = 1
   Loading Ramdisk to 0e658000, end 0e7ff558 ... OK
   ramdisk load start = 0x0e658000, ramdisk load end = 0x0e7ff558
Updating property 'timebase-frequency' =  27 bc 86 b3
Updating property 'clock-frequency' =  27 bc 86 b3
Updating property '/plb/clock-frequency' =  09 ef 21 ac
Updating property '/plb/opb/clock-frequency' =  04 f7 90 d6
Updating property '/plb/opb/ebc/clock-frequency' =  04 f7 90 d6
Updating property 'clock-frequency' =  00 54 c5 63
Updating property '/plb/opb/ethernet at ef600e00/mac-address' =  02 2e 02 08 ff 00
Updating property '/plb/opb/ethernet at ef600e00/local-mac-address' =  02 2e 02 08 ff 00
Updating property '/plb/opb/ethernet at ef600f00/mac-address' =  02 2e 02 08 ff 01
Updating property '/plb/opb/ethernet at ef600f00/local-mac-address' =  02 2e 02 08 ff 01
Updating property '/plb/opb/ethernet at ef601100/mac-address' =  02 2e 02 08 ff 02
Updating property '/plb/opb/ethernet at ef601100/local-mac-address' =  02 2e 02 08 ff 02
Updating property '/plb/opb/ethernet at ef601200/mac-address' =  02 2e 02 08 ff 03
Updating property '/plb/opb/ethernet at ef601200/local-mac-address' =  02 2e 02 08 ff 03
## Transferring control to Linux (at address 00000000) ...
   Booting using OF flat tree...
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
Using PowerPC 44x Platform machine description
Linux version 2.6.34 (dan at linux-8us8) (gcc version 4.2.2) #14 Fri Jul 2 14:39:47 MSD 2010
Found initrd at 0xce658000:0xce7ff558
Found legacy serial port 0 for /plb/opb/serial at ef600300
  mem=4ef600300, taddr=4ef600300, irq=0, clk=5555555, speed=0
Found legacy serial port 1 for /plb/opb/serial at ef600400
  mem=4ef600400, taddr=4ef600400, irq=0, clk=5555555, speed=0
Found legacy serial port 2 for /plb/opb/serial at ef600500
  mem=4ef600500, taddr=4ef600500, irq=0, clk=5555555, speed=115200
Found legacy serial port 3 for /plb/opb/serial at ef600600
  mem=4ef600600, taddr=4ef600600, irq=0, clk=5555555, speed=0
bootconsole [udbg0] enabled
setup_arch: bootmem
arch: exit
Top of RAM: 0x30000000, Total RAM: 0x30000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA      0x00000000 -> 0x00030000
  Normal   empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00030000
On node 0 totalpages: 196608
free_area_init_node: node 0, pgdat c02f3df0, node_mem_map c0716000
  DMA zone: 1536 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 195072 pages, LIFO batch:31
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
Kernel command line: ramdisk_size=32768 root=/dev/ram rw console=ttyS2,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 774572k/786432k available (2928k kernel code, 11860k reserved, 132k data, 106k bss, 136k init)
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfde00000..0xfde00000  : early ioremap
  * 0xf1000000..0xfde00000  : vmalloc & ioremap
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
  alloc irq_desc for 30 on node 0
  alloc kstat_irqs on node 0
irq: irq 30 on host /interrupt-controller0 mapped to virtual irq 30
UIC2 (32 IRQ sources) at DCR 0xe0
  alloc irq_desc for 16 on node 0
  alloc kstat_irqs on node 0
irq: irq 10 on host /interrupt-controller0 mapped to virtual irq 16
UIC3 (32 IRQ sources) at DCR 0xf0
  alloc irq_desc for 17 on node 0
  alloc kstat_irqs on node 0
irq: irq 16 on host /interrupt-controller0 mapped to virtual irq 17
time_init: decrementer frequency = 666.666675 MHz
time_init: processor frequency   = 666.666675 MHz
clocksource: timebase mult[600000] shift[22] registered
clockevent: decrementer mult[aaaaaace] shift[32] cpu[0]
Mount-cache hash table entries: 512
NET: Registered protocol family 16

  alloc irq_desc for 18 on node 0
  alloc kstat_irqs on node 0
irq: irq 11 on host /interrupt-controller1 mapped to virtual irq 18
256k L2-cache enabled
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
vgaarb: loaded
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 32
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 1693k freed
  alloc irq_desc for 19 on node 0
  alloc kstat_irqs on node 0
irq: irq 1 on host /interrupt-controller1 mapped to virtual irq 19
  alloc irq_desc for 20 on node 0
  alloc kstat_irqs on node 0
irq: irq 1 on host /interrupt-controller0 mapped to virtual irq 20
  alloc irq_desc for 29 on node 0
  alloc kstat_irqs on node 0
irq: irq 29 on host /interrupt-controller1 mapped to virtual irq 29
  alloc irq_desc for 21 on node 0
  alloc kstat_irqs on node 0
irq: irq 30 on host /interrupt-controller1 mapped to virtual irq 21
JFFS2 version 2.2. (NAND) б&#9560; 2001-2006 Red Hat, Inc.
msgmni has been set to 1516
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550A
serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 20) is a 16550A
serial8250.0: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A
console [ttyS2] enabled, bootconsole disabled
console [ttyS2] enabled, bootconsole disabled
serial8250.0: ttyS3 at MMIO 0x4ef600600 (irq = 21) is a 16550A
4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550
4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 20) is a 16550
4ef600500.serial: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550
4ef600600.serial: ttyS3 at MMIO 0x4ef600600 (irq = 21) is a 16550
brd: module loaded
TCP cubic registered
NET: Registered protocol family 17
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing unused kernel memory: 136k init


After that i see no activity. Can you help me with ramdisk image?

Thanks, Alex


More information about the eldk mailing list