Google
  Web www.spinics.net

Re: the way of making ramdisk image for smdk2410?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


there's the document of my implementation, I hope it will be helpful

1.    make sure the bootargs env of Uboot looks like:
console=ttySAC0,115200 init=/linuxrc root=/dev/ram0
2.    kernel configuration:
Device Drivers  --->
        Block devices  --->
               <*> RAM disk support
 (16)  Default number of RAM disks 
               (12288) Default RAM disk size (kbytes)
 (1024) Default RAM disk block size (bytes) 
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
       File systems  --->
              <*> Second extended fs support
3.    download the kenel & ramdisk image (initrd.boot),bootm kernel_addr ramdisk_addr
tftp 0x33000000 uImage ;tftp 0x31000000 initrd.boot;bootm 0x33000000 0x31000000
4.    to tailor the ramdisk image:
1) extract ramdisk.tar.bz2
2) dd if=/dev/zero of=initrd.img bs=1k count=12288
3)  mke2fs ?F initrd.img
4)  mount ?o loop initr.img /mnt/usb
5)  cp ?a ramdisk/* /mnt/usb
6) customize your FS in /mnt/usb
7)  umount /mnt/usb
8)  gzip -9 initrd.img
9)  mkimage -n "XXX ramdisk FS" -A arm -O linux -T ramdisk -C gzip ?d initrd.img.gz initrd.boot


2008-07-23 





 
Dear all:
 who can give me some suggestion  about making ramdisk image for smdk2410 board? website or guidline is OK.

Thanks a lot
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Add to Google

Google PageRank Checking tool