Author Topic: Custom Rom  (Read 4767 times)

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Custom Rom
« on: January 10, 2005, 10:48:16 am »
Hi,

I've successfully built a new rootfs of OZ GPE 3.5.x for my SL-5600 including matchbox 0.9 and updated gpe packages (I've created a custom distro from openzarurus 3.5.3 and familiar 0.8.1).

It's the first time I'm using OE so please don't flame me... :-)

I've got the following under "tmp/deploy/images":
Code: [Select]
-rw-r--r--  1 cedric users 13352960 Jan 10 16:07 gpe-image-poodle-20050110141435.rootfs.jffs2.bin
-rw-r--r--  1 cedric users   984364 Jan 10 15:57 zImage-poodle-20050110141435.bin

I've renamed the two files to "zImage" and "initrd.bin" and flash them using the SL-5600 updater.sh from the OZ 3.5.2 release.
After a success flash, I'm getting the following during the boot process and that's it... no GPE... :-(

Code: [Select]
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing: initrd memory: 4096K
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 84K

The goal of this custom rom was to test the new updated packages and the SL-5600 kernel without the cache bug errata enabled.
Previously this, I've got the OZ GPE 3.5.2 release running perfectly...

Ced.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Custom Rom
« Reply #1 on: January 10, 2005, 03:34:48 pm »
I can't help, but i amglad you started this thread.

Some directions (maybe they exist, but i have yet to find them) on how to set up oe built images to flash the different zs would be really helpful. I am currently having analagous problems with an opie image i built for my 6000.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

hatchetman

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Custom Rom
« Reply #2 on: January 12, 2005, 12:01:59 pm »
The only thing I can think of is that maybe you flashed a .jffs2.bz2 file instead of the jffs2 file.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Custom Rom
« Reply #3 on: January 13, 2005, 04:45:16 pm »
maybe try a different updater? the one for the 6k is pretty unique.. i have to use one from nevarrie to try my own stuff  ( my earlier problem was that i compiled crap, apparently).  I don't remember the 3.5.2 5600 updater being weird, but it is an easy thing to check out.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Custom Rom
« Reply #4 on: January 14, 2005, 04:40:22 am »
Finally I've find out my problem... I've setup OE to use the gcc toolchain 3.4.3 and it look like it doesn't produce valid binary. Is it due to the new "visibility" patch? (http://www.nedprod.com/programs/gccvisibility.html)

It's ok with gcc 3.4.2.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

hatchetman

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Custom Rom
« Reply #5 on: January 14, 2005, 05:23:34 am »
Code: [Select]
$ ./arm-linux-gcc --version
arm-linux-gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Checking my gcc binary it seems I'm running 3.4.3 (with the visibility patch), and without any problem. It's my understanding though that the kernel isn't even built with that cross compiler, but a prebuilt 2.95.3 toolchain so it's compatible with the closed source Sharp binaries.

If that's right, I can't imaging why 3.4.2 worked or made a difference. I think there's a good chance it was something else that made it successfull.

radioz

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Custom Rom
« Reply #6 on: January 18, 2005, 10:36:29 pm »
So are you still using GPE on your 5600? How is it working?
5600 PXA-255
Hentges OZ 3.5.4.2
PQI 1G SD
PQI 256M SD
Socket LP 10/100 Ethernet
Ambicom WL1100C Wifi

victorhooi

  • Newbie
  • *
  • Posts: 23
    • View Profile
Custom Rom
« Reply #7 on: February 22, 2005, 03:24:28 am »
Hi,

Any chance of you posting the images up somewhere for others to try?

I'm trying to either a) find good instructions on building custom roms, or  find a development/cvs-style rom of newer gpe/matchbox...could you pass on any of your hard-earned experience?  

bye,
Victor
« Last Edit: February 22, 2005, 03:53:53 am by victorhooi »