ts-7000
[Top] [All Lists]

[ts-7000] Re: ts7800 orion port

To:
Subject: [ts-7000] Re: ts7800 orion port
From: Alexander Clouter <>
Date: Mon, 24 Mar 2008 21:27:36 +0000
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU