Ramdisk not working on Hawkboard
Hi,
I am creating ram disk as in : http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x
I compiled the linux-omap kernel using (http://hawkboard.googlecode.com/files/linux-omapl1_ver1.tar.bz2), with the kernel parameters as described in the first link as above:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage_v2
cp arch/arm/boot/Image_v2 /tftpboot/uImage_v2
Then I did:
setenv bootargs mem=88M ip=dhcp console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0xc1180000,16M ramdisk_size=16384 saveenv
tftp c0000000 uImage_v2
tftp c1180000 rd-ext2.bin
bootm c0000000
It errors:
hawkboard.org > bootm c0000000???????? ? AIS U-BootLoader is already flashed Wrong Image Format for bootm command
ERROR: can't get kernel image!
any clues why?
This from http://elinux.org/Hawkboard works fine, though, with the default ram disk on hawkboard.org:
http://hawkboard.googlecode.com/files/linux-omapl1_ver1.tar.bz2
?make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean
? make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omapl138_hawkboard_defconfig
? make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
Regards,
D.Giriprasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110121/bf096ef8/attachment.html
Hi,
? The instructions in 'http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x' works fine, I just did not configured the busybox as per this website. Previously, I used the default configuration of busybox (where
all options are enabled by default). Now when I configure the busybox
as per this above mentioned link, the ramdisk works fine.
Closing this thread.
Thanks & Regards,
D.Giriprasad
--- On Fri, 21/1/11, Giriprasad Deviprasad <[email protected]> wrote:
From: Giriprasad Deviprasad <[email protected]>
Subject: Ramdisk not working on Hawkboard
To: kernelnewbies at nl.linux.org
Date: Friday, 21 January, 2011, 8:30 AM
Hi,
I am creating ram disk as in : http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x
I compiled the linux-omap kernel using (http://hawkboard.googlecode.com/files/linux-omapl1_ver1.tar.bz2), with the kernel parameters as described in the first link as above:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage_v2
cp arch/arm/boot/Image_v2 /tftpboot/uImage_v2
Then I did:
setenv bootargs mem=88M ip=dhcp console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0xc1180000,16M ramdisk_size=16384 saveenv
tftp c0000000 uImage_v2
tftp c1180000 rd-ext2.bin
bootm c0000000
It errors:
hawkboard.org > bootm c0000000???????? ?
AIS U-BootLoader is already flashed
Wrong Image Format for bootm command
ERROR: can't get kernel
image!
any clues why?
This from http://elinux.org/Hawkboard works fine, though, with the default ram disk on hawkboard.org:
http://hawkboard.googlecode.com/files/linux-omapl1_ver1.tar.bz2
?make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean
? make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omapl138_hawkboard_defconfig
? make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
Regards,
D.Giriprasad
-----Inline Attachment Follows-----
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110123/7f013880/attachment.html
Quoted 7 lines · Giriprasad Deviprasad
Hi,
? The instructions in 'http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x' works fine, I just did not configured the busybox as per this website. Previously, I used the default configuration of busybox (where all options are enabled by default). Now when I configure the busybox as per this above mentioned link, the ramdisk works fine.
Closing this thread.
Thanks, I personally really appreciate your updated research and post it to all of us here. Keep up the good job!
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com