Hi all, i received my serial cable this morning.

As Pierre did last tuesday, Linux boots fine on my x51v ! ^^
I used packages made by jeDI few months ago for axim X50v.
(http://lumumba.uhasselt.be/~jedi/x50-linux/x50v-linux/package)

I used latest release of Haret and tune default.txt like this :
set com "1"
set cmdline "root=/dev/ram0 rw ramdisk_size=12288 keepinitrd init=/linuxrc
console=ttyS0,115200n8"

Except frame buffer, whole things are fine :

-initrd mini-fs mounted in ramfs is OK !
-my sd-card is properly recognized and automatically mounted !!!!!
-usb device controller is OK so it should be possible use ethernet gadget / file
storage .....

- regarding UARTs, one thing is amazing :  "ttyS1 is a BTUART" (BT=bluetooth
????)
  Do it mean bluetooth device (which may be TI6150) is connected to ttyS1 ?
  If so, it should not be difficult to make it work on axim as a driver already
exists(done for hx4700).

Here is the log :

=================================================================================================
Comport init COM1:115200,8NUncompressing
Linux........................................................................
done, booting the kernel.
Linux version 2.6.16-hh0 ([EMAIL PROTECTED]) (gcc version 3.4.1) #12
PREEMPT Sat Apr 15 14:21:27 CEST 2006
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE)
Machine: Dell Axim X30
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw ramdisk_size=12288 mem=64M keepinitrd
init=/linuxrc console=ttyS0,115200n8
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 59352KB available (1828K code, 358K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
pxa2xx-fb pxa2xx-fb: machine LCCR0 setting contains illegal bits: 00300879
pxa2xx-fb pxa2xx-fb: machine LCCR3 setting contains illegal bits: 00300000
Console: switching to colour frame buffer device 60x40
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
IPAQ flash: probing 32-bit flash bus, window=0
Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
pxa27x_udc: version 21-Jul-2005
USB cmd disconnect
usb0: Ethernet Gadget, version: May Day 2005
usb0: using pxa27x_udc, OUT Bulk-out-2 IN Bulk-in-1
usb0: MAC 0a:4b:c5:46:21:85
USB cmd connect
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
mmcblk0: mmc0:cffc SD512 495488KiB
 mmcblk0: p1
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 96K
Initial RAM Disk started ...
Setting pxa register LCCR1_BLW to 19...
Setting pxa register LCCR3_PCD to 4...
Mounting /proc...
Waiting 20 seconds, so you can plug out and in your usb connection (temporary,
bug)...
Trying to mount root filesystem over NFS... mount: RPC: Unable to send; errno =
Network is unreachable
mount: nfsmount failed: Bad file descriptor
mount: Mounting 10.0.0.1:/home/x50v-root on /mnt/rootfs failed: Invalid argument
failed!
Trying to mount the fat32 SD card... done.
Trying to mount the ext2 rootfs image... loop: loaded (max 8 devices)
mount: /mnt/sdcard/x50v-rootfs.img: No such file or directory
mount: Could not setup loop device
failed!
Dropping to a shell and enabling the telnet daemon
/bin/sh: can't access tty; job control turned off
/ # ls
bin         lib         mnt         sbin        var
dev         linuxrc     proc        tmp
etc         lost+found  pxareg      usr
/ # cd /mnt/sdcard/
/mnt/sdcard # ls
Contacts                     games
FilesToBeDeleted             jng
Program Files                linux
Tcl                          putty
appt_Nantes                  regulation_charges_2006.XLS
atc                          tmp
contacts.zip                 ttnavigator.bif
dmesg.txt                    voices
emacs
/mnt/sdcard # cd /
/ # cat linuxrc | more
/bin/sh: more: not found
/ # cat linuxrc
#!/bin/sh
echo "Initial RAM Disk started ..."

echo "Setting pxa register LCCR1_BLW to 19..."
./pxareg LCCR1_BLW 19

echo "Setting pxa register LCCR3_PCD to 4..."
./pxareg LCCR3_PCD 4


export PATH=/bin:/sbin:/usr/sbin:/usr/bin

echo "Mounting /proc..."
mount /proc

# Detect which device we must use for console
CON=dev/console
grep -q "console=none" /proc/cmdline && CON=dev/null
exec >$CON 2>&1 <$CON


echo "Waiting 20 seconds, so you can plug out and in your usb connection
(temporary, bug)..."
sleep 20

echo -n "Trying to mount root filesystem over NFS... "
modprobe nfs
/sbin/portmap
if ! mount -t nfs -o nolock 10.0.0.1:/home/x50v-root /mnt/rootfs; then
        echo "failed!"

        echo -n "Trying to mount the fat32 SD card... "
        modprobe vfat
        if ! mount -t vfat /dev/mmc/blk0/part1 /mnt/sdcard; then
                echo "failed!"

                echo "Dropping to a shell and enabling the telnet daemon"
                /sbin/telnetd -l /bin/sh&
                /bin/sh
        else
                echo "done."

                echo -n "Trying to mount the ext2 rootfs image... "
                modprobe loop
                if ! mount -t ext2 -o loop /mnt/sdcard/x50v-rootfs.img 
/mnt/rootfs; then
                        echo "failed!"

                        echo "Dropping to a shell and enabling the telnet 
daemon"
                        /sbin/telnetd -l /bin/sh&
                        /bin/sh
                else
                        echo "done."
                fi
        fi

else
        echo "done."
fi


#echo "Mounting the fat32 SD card..."
#modprobe vfat
#if ! mount -t vfat /dev/mmc/blk0/part1 /mnt/sdcard; then
#       echo "Failed to mount the fat32 SD card, dropping to a shell"
#fi

#echo "Mounting the ext2 rootfs image..."
#modprobe loop
#if ! mount -t ext2 -o loop /mnt/sdcard/x50v-rootfs.img /mnt/rootfs; then
#       echo "Failed to mount root filesystem, dropping to a shell"
#       /bin/sh
#fi


umount /proc
echo "Moving initrd to /mnt/initrd"
cd /mnt/rootfs
/sbin/pivot_root . mnt/initrd
exec chroot . /sbin/init <$CON >$CON 2>&1
/ #
=================================================================================================
-- 
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port

Reply via email to