Zaurus Stuff
( C-1000 c-3200 )
NOW WORKING on c-1000 and c-3200
Zaurus with u-boot
To get the Zaurus running with uboot you need first get the u-boot installed.
This is done by useing the D+C mechanism
Create a new formatted ( fat ! not ext2 ) SD card with following Layout [[BR ]]
fdisk /dev/sdd Command (m for help): p Disk /dev/sdd: 32 MB, 32112640 bytes 4 heads, 32 sectors/track, 490 cylinders Units = cylinders of 128 * 512 = 65536 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdd1 1 490 31344 6 FAT16 Command (m for help):
Put the attached files on this card ( emergenc.img updater.pro u-boot.bin )
Insert this card, remove power and battery
Hold the D abd C button on the keyboard, and insert battery or plug the cable in ( maybe get someone to help you )
The green light gos on for approx 10 seconds ( with power cable the yellow light also )
Now you have installed the uboot and the kexec bootloader
Now format some SD or CF card with ext2/ext3fs and extract your target rootfs on it.
Insert that card
To enter the kexec bootloader, remove Battery, and power cable.
While powering on hold the OK button for 5 seconds. the kexec image boots and show an nice selection screen
With inserted sd card you can boot your image. thats all
to create the emergenc.img from a zImage-kexecbootXXX.bin image use following command:
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage-kexecboot-2.6.32+2.6.33-rc6-r18-spitz.bin /tmp/img
mkimage tool is build within u-boot
U-boot env for direct booting without OK pressing
bootdelay=1 baudrate=115200 mtdids=nand0=laze-0 mtdparts=mtdparts=laze-0:7168k(Logical),-(JFFS2) partition=nand0,0 mtddevnum=0 mtddevname=Logical bootcmd=nand read.logical 0xa1000000 0x00060000 0x00540000;bootm; bootargs=mtdparts=sharpsl-nand:7168k@0k(smf),-(root) console=ttyS0,115200 console=tty1 root=/dev/ram rw fbcon=rotate:1 ramdisk_size=8192 stdin=serial stdout=serial stderr=serial
Attachments
-
updater.pro
(59 bytes) - added by ew
21 months ago.
description file for D+C mechanism
-
a.out
(7.5 KB) - added by ew
9 months ago.
binary to read in ts dev
-
evt.c
(2.1 KB) - added by ew
9 months ago.
the c code for touchscreen reader
-
u-boot.bin
(127.7 KB) - added by ew
3 months ago.
now this u-boot is booting without keeping OK pressed
-
emergenc.img
(1.1 MB) - added by ew
3 months ago.
2.6.26 based kexeboot image tested with c-1000 and c-3200
