anita2310 / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

Linux-2.6.37 Kernel in gingerbread tree does not boot on Beagleboard C4 #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download source code with: repo init -u 
git://gitorious.org/rowboat/manifest.git -m gingerbread.xml ;repo sync
2. Build with: make TARGET_PRODUCT=beagleboard -j8 OMAPES=3.x
3. Create SDCARD and boot per 
http://code.google.com/p/rowboat/wiki/ConfigureAndBuild

What is the expected output? What do you see instead?
Expect to see kernel boot messages after uImage is uncompressed. Also expect to 
see more dots printed during uncompression. Instead I get:

mmc0 is available
reading uImage

2743276 bytes read
## Booting kernel from Legacy Image at 84000000 ...
   Image Name:   Linux-2.6.37-g02ca7dc
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2743212 Bytes =  2.6 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

>>> console hangs here. No further output. Does not echo typed characters <<<

What version of the product are you using? On what operating system?
gingerbread on Ubuntu 10.10

Please provide any additional information below.
This all works fine if I start with froyo.xml

Original issue reported on code.google.com by rea.cale...@gmail.com on 25 Jun 2011 at 12:19

GoogleCodeExporter commented 8 years ago
Actually the manifest files I used were rowboat-gingerbread.xml and 
rowboat-froyo.xml

Original comment by rea.cale...@gmail.com on 25 Jun 2011 at 2:05

GoogleCodeExporter commented 8 years ago
The bootargs need to be modified slightly for 2.6.37 kernel. Change ttySx to 
ttyOx (Oh not Zero)

Try this change and let us know if it helps.

Original comment by vishvesh...@aim.com on 27 Jun 2011 at 10:17

GoogleCodeExporter commented 8 years ago
Thanks that does help, but I'm not out of the woods yet. For my edification how 
could I have figured this out by myself?

Now the boot process completes but once into the Android initialisation, the 
mediaserver process repeatedly seg faults:

I/sysproc ( 1105): Entered system_init()
I/sysproc ( 1105): ServiceManager: 0x8d6e0
I/SurfaceFlinger( 1105): SurfaceFlinger is starting
I/SurfaceFlinger( 1105): SurfaceFlinger's main thread ready to run. 
Initializing graphics H/W...
E/FramebufferNativeWindow( 1105): couldn't open framebuffer HAL (Bad address)
I/DEBUG   ( 1005): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   ( 1005): Build fingerprint: 
'TI/beagleboard/beagleboard:2.3.4/GRJ22/eng.kevin.20110627.141414:tests/test-key
s'
I/DEBUG   ( 1005): pid: 1105, tid: 1113  >>> system_server <<<
I/DEBUG   ( 1005): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
0000005c
I/DEBUG   ( 1005):  r0 0000d410  r1 4357bdc4  r2 00000001  r3 00000000
I/DEBUG   ( 1005):  r4 0008f5f0  r5 0008f6e8  r6 fffffec0  r7 00000000
I/DEBUG   ( 1005):  r8 ac52b730  r9 00193ad8  10 00100000  fp 00000001
I/DEBUG   ( 1005):  ip ac52b78c  sp 4357bd68  lr af904a10  pc ac518bc8  cpsr 
60000030
I/DEBUG   ( 1005):  d0  0000000000000000  d1  4148207265666675
I/DEBUG   ( 1005):  d2  0000000000000075  d3  000000000000006c
I/DEBUG   ( 1005):  d4  0000000000000000  d5  0000000000000000
I/DEBUG   ( 1005):  d6  0704000207000305  d7  af00000007080384
I/DEBUG   ( 1005):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 1005):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 1005):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 1005):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 1005):  d16 00000000406c6010  d17 3fe999999999999a
I/DEBUG   ( 1005):  d18 42eccefa43de3400  d19 3fbc71c71c71c71c
I/DEBUG   ( 1005):  d20 4008000000000000  d21 3fd99a27ad32ddf5
I/DEBUG   ( 1005):  d22 3fd24998d6307188  d23 3fcc7288e957b53b
I/DEBUG   ( 1005):  d24 3fc74721cad6b0ed  d25 3fc39a09d078c69f
I/DEBUG   ( 1005):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   ( 1005):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   ( 1005):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 1005):  scr 20000012
I/DEBUG   ( 1005): 
I/DEBUG   ( 1005):          #00  pc 00018bc8  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1005):          #01  pc 000190ec  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1005):          #02  pc 00023dfc  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1005):          #03  pc 0001c8c8  /system/lib/libutils.so
I/DEBUG   ( 1005):          #04  pc 0001ce3a  /system/lib/libutils.so
I/DEBUG   ( 1005):          #05  pc 000118ec  /system/lib/libc.so
I/DEBUG   ( 1005):          #06  pc 000114b0  /system/lib/libc.so
I/DEBUG   ( 1005): 
I/DEBUG   ( 1005): code around pc:
I/DEBUG   ( 1005): ac518ba8 ffb8f7ff edd06ca0 23000a0b 6ec7a917 
I

Original comment by rea.cale...@gmail.com on 27 Jun 2011 at 10:03

GoogleCodeExporter commented 8 years ago
Does this thread from rowboat ML help?
http://groups.google.com/group/rowboat/browse_thread/thread/6e6d7fa1f14add58#

Linux 2.6.37 support is newly added so the docs are not yet complete/available 
yet. If you need any help feel free to ask on the rowboat mailing list/forum. 
It is much more active.

Original comment by vishvesh...@aim.com on 28 Jun 2011 at 6:17

GoogleCodeExporter commented 8 years ago
Yes that helps. Thanks for the pointers, I'll direct future questions to the 
mailing list/forum.

Original comment by rea.cale...@gmail.com on 29 Jun 2011 at 4:10