Hi all,
I compiled st linux (android patch )kernel for sh4 architecture ( ST7109
) and got uImage.
Also I compiled android sdk for sh4 architecture and got three images
ramdisk.img,system.img,userdata.img.
I have the board up and running with my u-boot and St linux2.4 (patched
for android) and nfs filesystem from STLinux2.4.
*How do i use the images ramdisk.img,system.img,userdata.img to boot
android through _NFS_*_.
_kindly explain with the steps .*_
_
*Regards,
Padma Priya.K
Srikant wrote:
1) now the question is should i write all my RFS specific img's ie system.img,
userdata.img, ramdisk.img to the same "ROOT" partition or should it be in
different partition.
See a sample NAND MTD partition table from the kernel logs:
Creating 7 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x0000000c0000-0x000000100000 : "misc"
0x000000100000-0x000000600000 : "recovery"
0x000000600000-0x000000900000 : "kernel"
0x000000900000-0x000000a00000 : "ramdisk"
0x000000a00000-0x000004d00000 : "system"
0x000004d00000-0x000009000000 : "cache"
0x000009000000-0x000010000000 : "userdata"
Flash your images starting at the below addresses as per the above
partitions.
0x0900_0000 ramdisk-uboot.img
0x0A00_0000 system.img
0x9000_0000 userdata.img
2)What should be the configuration for the bootargs if any.
bootargs should be something like this:
init=/linuxrc console=ttySAC1,115200
bootcmd should be some thing like this:
nand read c0008000 600000 400000; nand read 20800000 900000 100000;
bootm c0008000 20800000
Regards,
Srikant
On Jul 28, 5:33 pm, Ranganath s <[email protected]> wrote:
HI Ashwin,
I have my MTD ready, i have my u-boot set up and running. So, its just that
i need to write these images to "Root" partition of my NAND ,1) now the
question is should i write all my RFS specific img's ie system.img,
userdata.img, ramdisk.img to the same "ROOT" partition or should it be in
different partition.
2)What should be the configuration for the bootargs if any.
Thank you
Ranganath.S
On Wed, Jul 28, 2010 at 5:56 PM, Ashwin Bihari <[email protected]> wrote:
Those .img files are YAFFS2 files, so you'd partition your NAND (or
other Flash) and use U-Boot 'nand.yaffs2 write' or something to write
those images to the Flash. In the Kernel you'd need to ensure that
you've used MTD to create the partitions that match the areas of flash
you've chosen for these images..
Regards
-- Ashwin
On Wed, Jul 28, 2010 at 3:58 AM, Ranganath s <[email protected]> wrote:
Hi all ,
I need help in porting Android (eclairs) to one of my Arm boards.
I
have U-Boot set and i also have kernel flashed. Now I am stuck with
setting
up the RFS. I have system.img ,userdata.img , ramdisk.img. Can some one
help
me or point any resource so that i can understand how to flash these
images
on my dev board.
Thank you,
Ranganath.S
--
I blog athttp://ranganaths.wordpress.com
--
unsubscribe:
[email protected]<android-porting%2bunsubscr...@googlegroups.com>
website:http://groups.google.com/group/android-porting
--
I blog athttp://ranganaths.wordpress.com- Hide quoted text -
- Show quoted text -
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting