Voltcraft DSO-3062C/Sysinfo
From Random Projects
Contents |
vivi bootloader
Startup
***ARM CPU 400MHz BUS 100MHz (DST1000B bootloader)****(091102) Tekway Bootloader (modify from mizi vivi)v0.10.0 (root@rain-fc4) (gcc version 2.95.3 20010315 (release)) #0.1.4 Tue Dec 1 10:51:38 CST 2009 UPLLCON : 0x56022 MMU table base address = 0x33DFC000 NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M) Found default parameters test eint0 irq Dummy_isr error, interrupt number: 2 GPfcon :0x5555 Press Return to start the LINUX now, any other key for Bootloader type "help" for help. Tekway>
help
Tekway> help
Usage:
flash [{cmds}] -- Manage Flash memory
cpu [{cmds}] -- Manage cpu clocks
bon [{cmds}] -- Manage the bon file system
reset -- Reset the system
param [eval|show|save [-n]|reset] -- set/get parameter
part [add|del|show|reset] -- Manage MTD partitions
mem [{cmds}] -- Manage Memory
load [{cmds}] -- Load a file to RAM/Flash
go <addr> <a0> <a1> <a2> <a3> -- jump to <addr>
dump <addr> <length> -- Display (hex dump) a range of memory.
call <addr> <a0> <a1> <a2> <a3> -- jump_with_return to <addr>
boot [{cmds}] -- Booting linux kernel
help [{cmds}] -- Help about help?
load [{cmds}] -- Load a file to RAM/Flash
load [{cmds}] -- Load a file to RAM/Flash
loadyaffs {...} -- to Flash
cpu info
Tekway> cpu info Processor Information (Revision: 0x41129200) -------------------------------------------- Processor clock: 405000000 Hz AHB bus clock : 101250000 Hz APB bus clock : 50625000 Hz Register values MPLLCON: 0x0007f021 (MDIV: 0x007f, PDIV: 0x02, SDIV: 0x01) CLKDIVN: 0x00000005
param show
Tekway> param show Number of parameters: 9 name : hex integer ------------------------------------------------------------- mach_type : 0000030e 782 media_type : 00000003 3 boot_mem_base : 30000000 805306368 baudrate : 0001c200 115200 xmodem : 00000001 1 xmodem_one_nak : 00000000 0 xmodem_initial_timeout : 000493e0 300000 xmodem_timeout : 000f4240 1000000 boot_delay : 01000000 16777216 Linux command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
part show
Tekway> part show Number of partitions: 5 name : offset size flag ------------------------------------------------------------ vivi : 0x00000000 0x00020000 0 eboot : 0x00020000 0x00020000 0 param : 0x00040000 0x00010000 0 kernel : 0x00050000 0x00200000 0 root : 0x00250000 0x03dac000 0
mem info
Tekway> mem info
RAM Information:
Default ram size: 64M
Real ram size : 64M
Free memory : 61M
RAM mapped to : 0x30000000 - 0x34000000
Flash memory mapped to : 0x10000000 - 0x12000000
Available memory region : 0x30000000 - 0x33de0000
Stack base address : 0x33defffc
Current stack pointer : 0x33defc80
Memory control register vlaues
BWSCON = 0x22111110
BANKCON0 = 0x00000700
BANKCON1 = 0x00000700
BANKCON2 = 0x00000700
BANKCON3 = 0x00000700
BANKCON4 = 0x00000700
BANKCON5 = 0x00000700
BANKCON6 = 0x00018009
BANKCON7 = 0x00018009
REFRESH = 0x008e04eb
BANKSIZE = 0x000000b2
MRSRB6 = 0x00000030
MRSRB7 = 0x00000030
DSC0 = 0x00000000
DSC1 = 0x00000000
Linux
uname -a
$ uname -a Linux Tekway-dso 2.6.13 #3 Wed Jun 29 10:13:03 CST 2011 armv4tl GNU/Linux
/proc/cpuinfo
$ cat /proc/cpuinfo Processor : ARM920Tid(wb) rev 0 (v4l) BogoMIPS : 202.34 Features : swp half thumb CPU implementer : 0x41 CPU architecture: 4T CPU variant : 0x1 CPU part : 0x920 CPU revision : 0 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format A Cache format : Harvard I size : 16384 I assoc : 64 I line length : 32 I sets : 8 D size : 16384 D assoc : 64 D line length : 32 D sets : 8 Hardware : QQ2440 Revision : 0000 Serial : 0000000000000000
/proc/cmdline
$ cat cmdline noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
/proc/interrupts
CPU0 30: 80480 S3C2410 Timer Tick 34: 0 audio_in 35: 0 audio_out 41: 2 S3C2410 USB core 42: 0 ohci_hcd:usb1 43: 1280 s3c2440-i2c 62: 0 USB Over-current 70: 256 s3c2440-uart 71: 1078 s3c2440-uart 79: 0 s3c2410_action 80: 0 s3c2410_action Err: 0
/proc/iomem
$ cat /proc/iomem 18000300-18000303 : dm9000.0 18000304-18000307 : dm9000.0 30000000-33ffffff : System RAM 30021000-30291d33 : Kernel text 30292000-3038e78b : Kernel data 49000000-49100000 : s3c2410-ohci 49000000-49100000 : ohci_hcd 4d000000-4d100000 : s3c2410-lcd 4e000000-4e100000 : s3c2440-nand 4e000000-4e100000 : s3c2440-nand 50000000-50003fff : s3c2440-uart.0 50000000-500000ff : s3c2440-uart 50004000-50007fff : s3c2440-uart.1 50004000-500040ff : s3c2440-uart 50008000-5000bfff : s3c2440-uart.2 50008000-500080ff : s3c2440-uart 52000000-52100000 : s3c2410-usbgadget 53000000-53100000 : s3c2410-wdt 54000000-54100000 : s3c2440-i2c 54000000-54100000 : s3c2440-i2c 55000000-55100000 : s3c2410-iis 57000000-570000ff : s3c2410-rtc 57000000-570000ff : s3c2410-rtc 59000000-5900001f : s3c2440-spi.0 59000000-5900001f : s3c2440-spi 5a000000-5a100000 : s3c2410-sdi d0000300-d000030f : eth0
/proc/mtd
$ cat /proc/mtd dev: size erasesize name mtd0: 00030000 00004000 "bootloader" mtd1: 00200000 00004000 "kernel" mtd2: 03dac000 00004000 "root"
/proc/partitions
$ cat /proc/partitions major minor #blocks name 31 0 192 mtdblock0 31 1 2048 mtdblock1 31 2 63152 mtdblock2
/proc/fb
$ cat /proc/fb 0 s3c2410fb
/proc/devices
$ cat /proc/devices Character devices: 1 mem 4 /dev/vc/0 4 tty 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 14 sound 29 fb 81 video4linux 89 i2c 90 mtd 128 ptm 136 pts 180 usb 204 s3c2410_serial 242 dso-buzzer 245 dso-fpga 246 dso-lcd 247 dso-iobank 249 dso-i2c 250 dso-spi 253 dso-uart 254 devfs Block devices: 1 ramdisk 7 loop 8 sd 31 mtdblock 43 nbd 65 sd 66 sd 67 sd 68 sd 69 sd 70 sd 71 sd 128 sd 129 sd 130 sd 131 sd 132 sd 133 sd 134 sd 135 sd 254 mmc
/proc/version
$ cat /proc/version Linux version 2.6.13 (root@rain-fc4) (gcc version 3.4.1) #3 Wed Jun 29 10:13:031
/proc/yaffs
$ cat /proc/yaffs YAFFS built:Jun 29 2011 10:09:19 $Id: yaffs_fs.c,v 1.51 2006/07/25 21:03:22 charles Exp $ $Id: yaffs_guts.c,v 1.36 2006/09/05 23:23:34 charles Exp $ Device 0 "root" startBlock......... 0 endBlock........... 3946 chunkGroupBits..... 0 chunkGroupSize..... 1 nErasedBlocks...... 1597 nTnodesCreated..... 5700 nFreeTnodes........ 92 nObjectsCreated.... 1000 nFreeObjects....... 37 nFreeChunks........ 53739 nPageWrites........ 484 nPageReads......... 28183 nBlockErasures..... 7 nGCCopies.......... 5 garbageCollections. 4 passiveGCs......... 4 nRetriedWrites..... 0 nRetireBlocks...... 0 eccFixed........... 0 eccUnfixed......... 0 tagsEccFixed....... 0 tagsEccUnfixed..... 0 cacheHits.......... 0 nDeletedFiles...... 131 nUnlinkedFiles..... 137 nBackgroudDeletions 0 useNANDECC......... 0 isYaffs2........... 0
lsmod
$ lsmod Tainted: P s3c2440_buzzer 2368 0 - Live 0xbf01a000 dso_uart 1920 0 - Live 0xbf018000 dso_spi 5864 0 - Live 0xbf015000 dso_fpga 4176 0 - Live 0xbf012000 usblp 11328 0 - Live 0xbf00e000 usb_char 6712 0 - Live 0xbf00b000 usb_device 17736 1 usb_char, Live 0xbf005000 s3c2440_lcd 4488 0 - Live 0xbf002000 dso_iobank 3712 0 - Live 0xbf000000
mount
$ mount rootfs on / type rootfs (rw) /dev/root on / type yaffs (rw) none on /dev type devfs (rw) none on /proc type proc (rw,nodiratime) none on /tmp type tmpfs (rw) none on /var type tmpfs (rw)
fbset
$ fbset
mode "800x480-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 800 480 800 480 16
timings 0 157 91 21 26 11 1
accel false
rgba 5/11,6/5,5/0,0/0
endmode
/etc/rcS
$ cat /etc/rcS #! /bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin: runlevel=S prevlevel=N umask 022 export PATH runlevel prevlevel # # Trap CTRL-C &c only in this shell so we can interrupt subprocesses. # trap ":" INT QUIT TSTP /sbin/hwclock -s /bin/mknod /dev/pts/0 c 136 0 /bin/ln -s /dev/v4l/video0 /dev/video0 /bin/ln -s /dev/fb/0 /dev/fb0 /bin/ln -s /dev/vc/0 /dev/tty1 /bin/ln -s /dev/sound/dsp /dev/dsp /bin/ln -s /dev/sound/mixer /dev/mixer /bin/ln -s /dev/scsi/host0/bus0/target0/lun0/part1 /dev/sda1 /bin/mount -t proc none /proc /bin/mount -t tmpfs none /tmp /bin/mount -t tmpfs none /var /bin/mkdir -p /var/lib /bin/mkdir -p /var/run /bin/mkdir -p /var/log rm /usr/udisk-flag rm /usr/up -rf rm /dso/driver/driver.log touch /dso/driver/driver.log insmod /dso/driver/dso-iobank.ko insmod /dso/driver/dso-lcd.ko /dso/app/setio e4 o 0 insmod /dso/driver/dso-usbstorage.ko insmod /dso/driver/dso-usbd.ko insmod /dso/driver/dso-usbchar.ko insmod /dso/driver/dso-usblp.ko insmod /dso/driver/dso-fpga.ko insmod /dso/driver/dso-i2c.ko insmod /dso/driver/dso-spi.ko insmod /dso/driver/dso-uart.ko #insmod /dso/driver/dm9000.ko insmod /dso/driver/dso-buzzer.ko mknod /dev/ttyS0 c 204 64 #/dso/app/setio f0 o 0 /dso/app/setio g12 o 1 /dso/app/sendspi f /dn.rbf #/dso/app/sendfpgafile #/sbin/ifconfig lo 127.0.0.1 #/dso/app/setnet 00:11:38:33:44:55 192.168.1.78 #mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.1.88:/mnt/option/nfss /etc/rc.d/init.d/hotplug start /etc/checkdso dso_update.exe /bin/hostname -F /etc/sysconfig/HOSTNAME /dso.exe
/dso
$ find /dso /dso /dso/app /dso/app/sendspi /dso/app/testacq /dso/app/setnet /dso/app/sendfpgafile /dso/app/getdata /dso/app/setio /dso/driver /dso/driver/driver.log /dso/driver/dso-lcd.ko /dso/driver/dso-usbchar.ko /dso/driver/dso-usbd.ko /dso/driver/dm9000.ko /dso/driver/dso-usblp.ko /dso/driver/dso-i2c.ko /dso/driver/dso-fpga_1000b.ko /dso/driver/dso-iobank.ko /dso/driver/dso-fpga.ko /dso/driver/dso-usbstorage.ko /dso/driver/dso-cs8900.ko /dso/driver/dso-buzzer.ko /dso/driver/dso-uart.ko /dso/driver/dso-fpga_1000bX.ko /dso/driver/dso-spi.ko
/dso/driver/driver.log
$ cat /dso/driver/driver.log [IOBANK] 1.00.0(090903) CPU 400MHZ BUS 100MHZ [LCD] 1.02.0(110314)50HZframefreq [fpga] 1.00.0(091202) [SPI] 1.00.0(090713) [UART] 1.00.0(090713) [BUZZER] 1.00.0(090713)