Cocoboot loader

Linux4Palm

Hi all,

I've started writing a non machine specific Linux loader. By this I mean that it tries to autodetect all the information it needs to boot Linux, instead of us having to make up heaps of nearly identical mach-X.h files.

I'd appreciate it if anyone with a Palm other than a LD, could reply with the output of cocoboot-20060402.prc (source) It should attempt to detect the RAM base, RAM size, TLB location (physical) and CPU model. I'd like to know whether the detection is working properly before I write the loader.

My plan is to have it also be able to tell you the LCD register values, load from memory card or compiled-in kernel and (at least on the XScale) move the framebuffer somewhere safe in RAM to display a nice logo while the kernel is copied and booted.

Thanks!

UPDATE (July 2007): If you're looking for Cocoboot for booting Linux this is not the file you want. This is a very old development version. It can't boot. Please use the one from the Latest releases page instead.

TX'

TX' output:
-----------
Machine: D050
RAM base: 0xa0000000
RAM size: 32mb (0x12d0000)
TLB loc: 0xa0004000
CPU ID: 69054117
CPU: Intel PXA27x

Awesome. Thanks cris! So

Awesome. Thanks cris! So that's at least two Palms that should work.

For reference, LifeDrive output:

Machine: TunX
RAM base: 0xa0000000
RAM size: 32mb (0x1330000)
TLB loc: 0xa0004000
CPU ID: 69054117
CPU: Intel PXA27x

So it looks like TX and LD are even the same PXA270 revision.

T3: Machine: Arz1 RAM base:

T3:
Machine: Arz1
RAM base: 0xa0000000
RAM size: 64mb (0x3f00000)
TLB loc: 0xa0004000
CPU ID: 69052d06
CPU: Intel PXA25x/26x

sorry for 2 post, now i can

sorry for 2 post, now i can only edit it, not del

T|E2: Machine: Zir4 RAM

T|E2:
Machine: Zir4
RAM base: 0xa0000000
RAM size: 16mb (0xf00000)
TLB loc: 0xa0004000
CPU ID: 69052d06
CPU: Intel PXA25x/26x

Thanks! So it looks like the

Thanks! So it looks like the memory detect is working properly for various values, and CPU detect for XScale.

Anyone with an OMAP Palm?

PalmOne Tungsten C: Machine:

PalmOne Tungsten C:

Machine: MT64
RAM base: 0xa0000000
RAM size: 64mb (0x3f00000)
TLB loc: 0xa0004000
CPU ID: 69052d06
CPU: Intel PXA25x/26x

PalmOne Zire

PalmOne Zire 72:

Machine:Zi72
RAM base: 0xa0000000
RAM size: 32mb (0x1e00000)
TLB loc: 0xa0004000
CPU ID: 69054114
CPU: Intel PXA27x

Palmone Tungsten T5 Machine:

Palmone Tungsten T5
Machine: TnT5
RAM base: 0xa0000000
RAM size: 32mb (0x1220000)
TLB loc: 0xa0004000
CPU ID: 69054114
CPU: Intel PXA27x

Palm Tungsten|E Machine:

Palm Tungsten|E

Machine: Cct1
RAM base:0x10000000
RAM size: 32 mb (0x1ed00000)
TLB loc: 0x10004000
CPU ID: 54029252
CPU: TI 925T