Hi,
phygman <> [20080324 20:02:30 -0000]:
>
> OK...I have it mostly working. What does your
> "/usr/src/ts7800/initramfs" look like?
>
I have listed hopefully the important bits you need below. I have not done
much other than to get things kicking. However without DMA support for the
NAND using a full blown disto on the board is not going to be fun :-/
I have an 'unofficial' not 100% working NAND with DMA patch:
http://stuff.digriz.org.uk/ts7800/
The problem is that for some reason after reading 19.75MiB of JFFS2 parition
(when mounting) it locks up. I cannot understand why, I have 'duped' pretty
much all of TS's code in regards to this :)
Anyway, I have grovelled to them to see if anyone there can spare a moment to
work out whats wrong...we'll see if that produces anything; of course if
anyone here can work out the problem... :)
Cheers
Alex
======
:~/work/soas/networkshop/2008$ tree /usr/src/ts7800/initramfs/
/usr/src/ts7800/initramfs/
|-- bin
| |-- ash -> /busybox
| |-- cat -> /busybox
| |-- dmesg -> /busybox
| |-- echo -> /busybox
| |-- less -> /busybox
| |-- ls -> /busybox
| |-- mkdir -> /busybox
| `-- mount -> /busybox
|-- busybox
|-- dev
| |-- console
| |-- initrd
| `-- tssdcardb2
|-- init
|-- lib
`-- sbin
|-- insmod -> /busybox
|-- mdev -> /busybox
`-- switch_root -> /busybox
=========
:~/work/soas/networkshop/2008$ cat /usr/src/ts7800/initramfs/init
#!/bin/ash
# http://tech.groups.yahoo.com/group/ts-7000/message/10094
/bin/mkdir /proc
/bin/mount -n -t proc proc /proc
/bin/mkdir /sys
/bin/mount -t sysfs sysfs /sys
/bin/mount -t tmpfs udev /dev
/bin/mkdir /dev/pts
/bin/mount -t devpts devpts /dev/pts
/bin/mkdir /dev/shm
/bin/mount -t tmpfs none /dev/shm
/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug
/sbin/mdev -s
exec /bin/ash
# for some time later...
/bin/mkdir /newroot
/bin/mount -t jffs2 mtd4 /newroot -o ro
exec /sbin/switch_root /newroot /sbin/init
=============
--
______________________________________
< To err is human, to forgive unusual. >
--------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|