Author Topic: Build Pdaxrom From Scratch  (Read 3529 times)

ivo

  • Newbie
  • *
  • Posts: 14
    • View Profile
Build Pdaxrom From Scratch
« on: February 01, 2005, 06:05:49 pm »
Hi All,

I've mostly figured out what's involved in getting pdaxrom working on the c3000. It boils down to:

- a small root filesystem (jffs2) - there's only 5mb available in mtd2, the rest can be stored on the microdrive (this is basically what sharp does as well with Qtopia) or optionally mtd3 ('home'), but that's relatively small as well. This means pdaxrom has to be split into two parts - a rootfilesystem to get the basics running (pcmcia, rc stuff). All applications (/usr basically) can be stored on the microdrive.

- a working pcmcia subsystem before pdaxrom boots, to access the microdrive (which is a pcmcia device, of course). The existing c3000 rc.rofilesys should be usable for this (along with some mounting magic to modify /etc after pcmcia comes up, basically like the default sharp rom already does)

- some re-compiled binaries, most importantly the Xserver without ati (?) accelleration (I don't even know at this point if this accelleration breaks anything though - perhaps it'll just work?)

This means I have to create my own root 'initrd.bin' with a subset of what's currently in pdaxrom, and I probably need to do this from scratch. The SDK on pdaxrom.org is mostly about crosscompiling packages/building ipk's, not the entire system including the jffs2 rootimage. How do I build this myself?

Cheers

  Ivo

ivo

  • Newbie
  • *
  • Posts: 14
    • View Profile
Build Pdaxrom From Scratch
« Reply #1 on: February 02, 2005, 04:58:19 am »
Quote
This means I have to create my own root 'initrd.bin' with a subset of what's currently in pdaxrom, and I probably need to do this from scratch. The SDK on pdaxrom.org is mostly about crosscompiling packages/building ipk's, not the entire system including the jffs2 rootimage. How do I build this myself?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=65009\"][{POST_SNAPBACK}][/a][/div]

Ok, I found 'pdaXrom-builder' which seems like something that could help me build pdaxrom  BBut I could still use some help on how to use this to build the rom.

I copied config-sys/corgi-xscale-softvfp-3.3.2-2.2.5-2.4.18/config_xtools as a base for my c3000 config (what's the use of config_rom btw? Other configs don't seem to have this).

This config has options such as:

PTXCONF_PREFIX="/opt/cross/arm/3.3.2-xscale-softvfp"
PTXCONF_NATIVE_PREFIX="/opt/native/arm/3.3.2-xscale-softvfp"
PTXCONF_ROOT="/tmp/roots/root-corgi"

I assume one of them is the crosscompiler, what is meant by 'native prefix'? Is that /usr for my i386 gcc?

What is PTXCONF_ROOT? Should I create a basic root filesystem from my current default rom image?

Cheers

  Ivo

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Build Pdaxrom From Scratch
« Reply #2 on: February 20, 2005, 08:16:30 am »
Hang on, some building instuctions are on the way. I think it will be relased in the not very far future.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!