Re: [uCsimm] FS on FLASH

From: 권석근 (kwonsk@mutech.co.kr)
Date: Wed Mar 01 2000 - 05:43:02 EST


Hi, all

Wow, I cannot wait reporting my success story about root fs on flash.
I love linux!

Today, i got success on using flash just like harddisk.
Now uClinux boots from FLASH HARDDISK!

Follow is my capture with minicom.
We could now true writable root fs. I could change network configuration,
and could make user account with out remaking binary image.

Please wait.
i'll make note step by step about this success soon.

BTW, could anybody help me? I'm busy for preparing my patch.
before my post, could somebody make small utils for uClinux like adduser
and login program which utilize acount/password scheme and so on?

Thanks
kwonsk.
kwonsk@mutech.co.kr

----------------------------------------------------------------------------

--
AKBCDLEF
68EZ328 DragonBallEZ support (C) 1999 Rt-Control, Inc
uCsimm serial string [940123113-010de]
uCsimm hwaddr 00:50:c2:03:60:de
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
setup TMR for none __RT__
Calibrating delay loop.. ok - 1.91 BogoMIPS
Memory available: 5684k/6541k RAM, 974k/1408k ROM (1420k kernel data, 434k
code)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
uClinux version 2.0.38.0 (root@controller.linux.private) (gcc version
2.7.2.3) #693 Wed Mar 1 18:12:46 KST 2000
MC68328 serial driver version 1.00
ttyS0 at 0xfffff900 (irq = 64) is a builtin MC68328 UART
Ramdisk driver initialized : 16 ramdisks of 4096K size
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: B9440-146C3F (RO)
Valid FTL partition found.
ftl_cs: opening 912 kb FTL partition
Partition check:
 ftla: unknown partition table
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
cs89x0.c:v1.02 11/26/96 Russell Nelson <nelson@crynwr.com>
cs89x0.c:68EZ328 support D. Jeff Dionne <jeff@rt-control.com> 1999
eth0: cs8900 rev H found at 0x10000300 3.3Volts media RJ-45, 00 50 c2 03 60
de
VFS: Mounted root (minix filesystem) readonly.
expand ramdisk...
eth0: Setting MAC address to  00 50 c2 03 60 de.
eth0: Attempting TP
eth0: using 10Base-T (RJ-45)
mount nfs filesystem...

embeded login: root Password:

# mount /dev/root on / type minix (ro) /dev/ram0 on /var type ext2 (rw) proc on /proc type proc (rw) 192.168.1.7:/home2 on /mnt type nfs (rw,addr=192.168.1.7) # cd / # ls mnt bin etc dev lib usr sbin var ramfs1024.img proc tmp mnt2 # df / Total bytes: 805888 Free bytes: 214016 Total nodes: 266 Free nodes: 90 # cat /proc/filesystems romfs ext2 minix msdos nodev proc nodev nfs # cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttyp 5 cua 90 mtd

Block devices: 1 ramdisk 31 Blkmem 44 ftl # cd /etc # ls group inetd.conf inittab issue passwd rc rc.inet rc.local resolv.conf services # rm issue issue: Read-only file system # mount -o remount,rw /dev/ftla / # cp issue issue.org # mount /dev/root on / type minix (rw) /dev/ram0 on /var type ext2 (rw) proc on /proc type proc (rw) 192.168.1.7:/home2 on /mnt type nfs (rw,addr=192.168.1.7) # rm issue # cp issue.org issue # mount -o remount,ro /dev/ftla / # mount /dev/root on / type minix (ro) /dev/ram0 on /var type ext2 (rw) proc on /proc type proc (rw) 192.168.1.7:/home2 on /mnt type nfs (rw,addr=192.168.1.7) # cd / # cd proc # ls mounts locks cmdline ioports dma filesystems interrupts devices stat kcore sys scsi net self cpuinfo version kmsg meminfo uptime loadavg 1 2 3 4 5 6 21 37 17 # ---------------------------------------------------------------------------- ----

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST