Hi,

The original Linux userland is not necessary for Android userland.
Remove all original Linux userland from SD card, then copy Android
userland.

Your SD card default folder structure should be like this,
# ls
data          dev   init.goldfish.rc  init.rc  sbin  system
default.prop  init  init.r0p7724.rc   proc     sys

(1)
Read the documents here then you will find out how MS7724 boot.
https://oss.renesas.com/modules/document/
I dun know about PCB board...

(2)
Yes, you need to add necessary drivers and settings for Android in you
kernel.
- Get the kernel from Renesas OSS site
- Check diff between "SH7724 Linux BSP" and "SH7724 Android"
- Add those diff to your kernel.

No change needed for bootloader, I think. :)

Good luck!

On Jun 22, 4:36 pm, Pankaj <[email protected]> wrote:
> Hi,
> This is my SD card default folder structure
> # ls
> bin         dev         lib         opt         sbin        tmp
> boot        etc         lost+found  proc        sys         usr
> data        home        mnt         root        system      var
> #
>
> I am copied all folder and file in System , data and root folder.
> But now my confusion is that
> 1) At the time on power on, Default my PCB kernel is boot.
> After the booting process complete i mount sd card using
> #mount /dev/hda1 /mnt/cf  (This command is applying on My
> HyperTerminal)
>
> Then please tell me it is necessary to boot kernel first?
> If no then, how cf card will be mount?
>
> 2) I didn’t get your point
> "Also replace the kernel..."
> I am put my kernel in boot folder
> # ls /boot
> uImage-ms104sh4ag
> #
>
> Now when I am turn on my PCB, kernel will be boot.
>
> My confusion is that, it is ok that i used my PCB kernel?
> or any changes is required in boot loader or kernel?
>
> Thank you
> Pankaj Gdahiya
>
> On Jun 22, 12:23 am, abukustfan <[email protected]> wrote:
>
>
>
> > Hi,
>
> > ic, then it should be fine for just replace the normal Linux userland
> > to Android userland.
> >  <your_target_rootfs> = /media/<sdcard>/
>
> > Also replace the kernel...
>
> > On Jun 22, 12:49 pm, Pankaj <[email protected]> wrote:
>
> > > Hi
> > > it also support nfs boot.
> > > But now i used sd card for boot normal linux
>
> > > On Jun 22, 8:35 am, Pankaj <[email protected]> wrote:
>
> > > > Hi
> > > > I used SD card for boot normal linux.
>
> > > > On Jun 22, 5:07 am, abukustfan <[email protected]> wrote:
>
> > > > > Hi,
>
> > > > > How do you boot normal Linux from your device?
> > > > > NFS or SD card?
>
> > > > > On Jun 21, 11:38 pm, Pankaj <[email protected]> wrote:
>
> > > > > > Hi abukustfan
> > > > > > Thanks for the reply.
> > > > > > I have compiled source code of android.
> > > > > > But my confution is how to run or porting android in my device.
> > > > > > I am used hyper terminal for intract with my PCB and U-Bot as a boot
> > > > > > loader.
>
> > > > > > In your reply, i did not get <your_target_rootfs> i mean how can i
> > > > > > create my target rootfs system.
> > > > > > I have 4 gb sd card. But i don't know proting process/command.
>
> > > > > > Would you please explain android porting step in real device?
>
> > > > > > Thank you in advance
> > > > > > Pankaj Gadhiya
>
> > > > > > On Jun 21, 2:22 pm, abukustfan <[email protected]> wrote:
>
> > > > > > > You can create your rootfs as below,
> > > > > > >  $ cp mydroid/out/target/product/ms7724/root/* 
> > > > > > > <your_target_rootfs>/
> > > > > > >  $ cp mydroid/out/target/product/ms7724/system/* 
> > > > > > > <your_target_rootfs>/
> > > > > > > system/
> > > > > > >  $ cp mydroid/out/target/product/ms7724/data/* 
> > > > > > > <your_target_rootfs>/
> > > > > > > data/
>
> > > > > > > If you use MS7724, <your_target_rootfs> = USB partition 2.
>
> > > > > > > Good luck!
>
> > > > > > > On Jun 10, 7:07 pm, Pankaj <[email protected]> wrote:
>
> > > > > > > > Thank you very much for your reply.
> > > > > > > > Yes you are right i missed step4.
> > > > > > > > Now i have build android source code forsuperHarch
>
> > > > > > > > But now confusion is that how can i mount android image in my 
> > > > > > > > Device.
> > > > > > > > Do you have any idea for same?
> > > > > > > > Please guide me.
>
> > > > > > > > On May 25, 1:31 pm, abukustfan <[email protected]> wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > I thinks you miss the step 4.
> > > > > > > > > $ cp patches/tools/local_manifest.xml .repo/
>
> > > > > > > > > On 5月19日, 午後2:50,Pankaj<[email protected]> wrote:
>
> > > > > > > > > > Hello All
>
> > > > > > > > > > I am new in porting android onSuperH
>
> > > > > > > > > > As per flowing link i download source android source 
> > > > > > > > > > code(Step 4)
> > > > > > > > > > successfully.
>
> > > > > > > > > >https://oss.renesas.com/modules/document/?How%20To%20Build%20Android
>
> > > > > > > > > > When i perform step 5 it give error. Like
> > > > > > > > > > "Directory vendor/renesas/ms7724/ not exist!"
>
> > > > > > > > > > My confusion is, if i download all source code then why 
> > > > > > > > > > this directory
> > > > > > > > > > not create in my mydroid folder?
>
> > > > > > > > > > Also when i build source code (Step 6) Using
>
> > > > > > > > > > make -j8 TARGET_ARCH=sh TARGET_PRODUCT=ms7724
>
> > > > > > > > > > it give following error
> > > > > > > > > > build/core/product_config.mk:173: *** No matches for 
> > > > > > > > > > product "ms7724".
> > > > > > > > > > Stop.
>
> > > > > > > > > > Please help me on this error.
> > > > > > > > > > Thank you in advance.
>
> > > > > > > > > > --
> > > > > > > > > > unsubscribe: [email protected]
> > > > > > > > > > website:http://groups.google.com/group/android-porting
>
> > > > > > > > > --
> > > > > > > > > unsubscribe: [email protected]
> > > > > > > > > website:http://groups.google.com/group/android-porting-Hidequotedtext-
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to