Part 6 - Booting the Kernel from a SD-Card

Information all about the Zoom MDK and handling Android on it.

Part 6 - Booting the Kernel from a SD-Card

Postby plusminus » Thu Jun 26, 2008 9:32 pm

Part 6 - Booting the Kernel (under construction)


Starting to boot the kernel will result in displaying of the linux penguin on the LCD, like it did with us:
Image


But how to actually start the linux kernel on the OmapZoom MDK :?:

Power on the Zoom, connect it to your host via serial (you find information on the serial-configuration on previous parts)
What you will need to type for "[font=Courier New]kernel-x.x.uImg[/font]" depends on what you called the kernel-image-file in Part 5:
Code: Select all
mmcinit
fatload mmc 0 80c00000 kernel-x.x.uImg
bootm 80c00000

These codes load the Kernel-Image to a very specific location in the RAM and execute it.

This is what your terminal-app will show (we are currently receiving a kernelpanic :) )
Code: Select all
TODO successful kernel-start output /TODO

FAQ:
[hr][hr]
Q:My kernel-startup ends with sth like: "[font=Courier New]unable to open an initial console[/font]" and "[font=Courier New]Kernel panic - not syncing: No init found. Try passing init= option to kernel.[/font]"
Example:
Code: Select all
....
<6>Freeing init memory: 140K
Freeing init memory: 140K
<4>Warning: unable to open an initial console.
Warning: unable to open an initial console.
<4>Failed to execute 5.  Attempting defaults...
Failed to execute 5.  Attempting defaults...
<0>Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

A: You missed to copy the "minifs" to the 2nd partition of your mircoSD-Card: :src: Download the one we used. (maybe a newer one can be found here: http://www.omapzoom.org/pub/images)
[hr][hr]
Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

After Part 6....?

Postby Casten » Thu Jul 03, 2008 5:52 am

So, what is after part 6? Plusminus, do you have Android running on Zoom yet?

-Casten
Casten
Freshman
Freshman
 
Posts: 3
Joined: Thu Jul 03, 2008 12:44 am

Re: After Part 6....?

Postby plusminus » Thu Jul 03, 2008 8:57 am

Hi Casten,
Casten wrote:So, what is after part 6? Plusminus, do you have Android running on Zoom yet?

No, unfortunately not yet.

(Basically we are currently following these instructions: http://elinux.org/Android_on_OMAP )
The current situation is, that the Linux is fully up and we copied the /system and /data from the emulator and some others (minifs from: http://www.omapzoom.org/pub/images )to /android on the SD-Card.
But when running the scripts from elinux.org, which in the end does a "[font=Courier New]chroot[/font]" (changeroot) to the "android-file-system" we get a [font=Courier New]segmentation fault[/font] as the [font=Courier New]sh[/font] from the android emulator somehow doesn't want to run on the ZoomMDK.

If finally get it to work somehow, be sure of seeing a detailed explanation and a DD-Image of the MircoSD-Card right here!

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Now What?

Postby tberthel » Tue Sep 02, 2008 12:46 am

So what is the current situation?

Is it working?

If so what to you want in return for showing my games running on it?

Sincerely,

Travis
tberthel
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Sun Apr 13, 2008 3:19 am

Re: Now What?

Postby plusminus » Tue Sep 02, 2008 4:16 am

tberthel wrote:So what is the current situation?

Is it working?

If so what to you want in return for showing my games running on it?

Sincerely,

Travis


I moved to the U.S. for my internship and left the device behind with a fellow student. I'll notify him of this post.

Best Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby tberthel » Fri Sep 05, 2008 2:32 am

Any response from your friend?
tberthel
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Sun Apr 13, 2008 3:19 am

Top

Postby plusminus » Fri Sep 05, 2008 5:01 am

Ollo (21:33:00 2/09/2008)
I'm still in San Franzisco

Ollo (21:33:09 2/09/2008)
flying back the day after tomorrow

Ollo (21:33:22 2/09/2008)
on the coming weekend, I'll probably work on the Zoom

So maybe we'll see some news soon :)
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

is there a Ui-image for the mdk for SD mmc boot you can send

Postby Ragemaster » Mon Oct 20, 2008 4:25 am

The link for the image is broken and cant find a ui-image to load for my omapzoom mdk and cant seem to reach a respons from any developer from omapzoom.org group list..

this is what the output is

U-Boot 1.1.4 (Jul 18 2008 - 19:55:30)

OMAP3430-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3430LAB 0.1 Version + mDDR (Boot NAND)
DRAM: 128 MB
NAND:256 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial
USB charger detected
Battery levels: main 4145 mV, backup 3219 mV
LAN9x18 (0x92110000) detected.
Read mac address: 00:08:EE:02:51:3D
start Auto negotiation... (take ~2sec)
Auto negotiation failed
OMAP34XX LAB # mmcinit
OMAP34XX LAB # fatload mmc 0 80c00000 kernel-x.x.uImg

** Unable to read "kernel-x.x.uImg" from mmc 0:1 **
OMAP34XX LAB #

Also what more have you done with your omapzoom mdk?
Ragemaster
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Oct 14, 2008 9:39 pm

Top

Return to Zoom MDK

Who is online

Users browsing this forum: No registered users and 2 guests