# pwd / # ls -la drwxr-xr-x 11 root root 0 Jan 1 00:00 . drwxr-xr-x 11 root root 0 Jan 1 00:00 .. -rw-r--r-- 1 root root 111 Jan 1 00:04 .ash_history drwxrwxr-x 2 root root 0 Dec 4 2012 bin drwxrwxr-x 2 root root 0 Jan 1 00:00 dev drwxrwxr-x 4 root root 0 Dec 4 2012 etc -rwxrwx--x 1 root root 2555 Dec 3 2012 init drwxrwxr-x 5 root root 0 Dec 4 2012 lib dr-xr-xr-x 30 root root 0 Jan 1 00:00 proc drwx------ 2 root root 0 Dec 3 2012 root drwxrwxr-x 2 root root 0 Dec 4 2012 sbin drwxr-xr-x 11 root root 0 Jan 1 00:00 sys drwxrwxr-x 5 root root 0 Dec 4 2012 usr # ls -la bin drwxrwxr-x 2 root root 0 Dec 4 2012 . drwxr-xr-x 11 root root 0 Jan 1 00:00 .. -rwsr-sr-x 1 root root 518956 Dec 3 2012 busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 cat -> busybox -rwxrwxr-x 1 root root 364 Jun 26 2012 chkmodule lrwxrwxrwx 1 root root 7 Dec 4 2012 cp -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 dd -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 echo -> busybox -rwxr-xr-x 1 root root 11468 Dec 3 2012 flash_eraseall lrwxrwxrwx 1 root root 7 Dec 4 2012 grep -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 ip -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 ipcalc -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 ln -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 ls -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 mkdir -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 mknod -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 mount -> busybox -rwxrwxr-x 1 root root 11218 Jun 26 2012 mtd_dev_init -rwxr-xr-x 1 root root 14388 Dec 3 2012 nandwrite lrwxrwxrwx 1 root root 7 Dec 4 2012 rm -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 sed -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 sh -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 sleep -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 tar -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 touch -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 umount -> busybox lrwxrwxrwx 1 root root 7 Dec 4 2012 usleep -> busybox # ls -la sbin drwxrwxr-x 2 root root 0 Dec 4 2012 . drwxr-xr-x 11 root root 0 Jan 1 00:00 .. lrwxrwxrwx 1 root root 14 Dec 4 2012 ifconfig -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 insmod -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 lsmod -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 modprobe -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 reboot -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 rmmod -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 route -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 switch_root -> ../bin/busybox lrwxrwxrwx 1 root root 14 Dec 4 2012 udhcpc -> ../bin/busybox # # ls -ls /usr/bin 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 [ -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 awk -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 basename -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 cut -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 dirname -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 du -> ../../bin/busybox 8 -rwxr-xr-x 1 root root 7357 Dec 3 2012 fpanel_print 8 -rwxr-xr-x 1 root root 8171 Dec 3 2012 fpanel_print_icon 20 -rwxr-xr-x 1 root root 16404 Dec 3 2012 i2crw 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 killall -> ../../bin/busybox 12 -rwxr-xr-x 1 root root 8291 Dec 3 2012 ledctl 16 -rwxr-xr-x 1 root root 12910 Dec 3 2012 pwrstat 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 tail -> ../../bin/busybox 16 -rwxr-xr-x 1 root root 13500 Dec 3 2012 tdi 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 tee -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 tr -> ../../bin/busybox 0 lrwxrwxrwx 1 root root 17 Dec 4 2012 uniq -> ../../bin/busybox # # ./tdi You need to specify a command Usage: ./tdi [] [] Commands: init write list program dump read check size Fields: brand: Board's branding prod_name: Customer's product name inputs: String describing inputs outputs: String describing outputs ainputs: String describing audio inputs aoutputs: String describing audio outputs adrivestrength: Audio drive strength vdrivestrength: Video drive strength platform: Teradek's platform name version: Teradek's hardware version misc: Miscellaneous options pair_id: Pairing id pair_sn: Pairing serial number pair_cubelet: Part of a cubelet demo: Flag to set device as a demo unit case_sn: Serial number of the Case case_pair: Pair number of Case hw_i2c: Use hardware I2C devices hw_test: Hardware testing mode build: Build info # du -k . 552 . # # mount rootfs on / type rootfs (rw) none on /proc type proc (rw,relatime) none on /sys type sysfs (rw,relatime) # # pwd /etc # ls -la drwxrwxr-x 4 root root 0 Dec 4 2012 . drwxr-xr-x 11 root root 0 Jan 1 00:00 .. -rw-rw-r-- 1 root root 18 Dec 3 2012 board.cfg -rw-rw-r-- 1 root root 188 Jun 26 2012 boot.cfg -rw-r--r-- 1 root root 24 Jun 26 2012 busybox.conf -rw-rw-r-- 1 root root 0 Dec 4 2012 fstab -rw-rw-r-- 1 root root 95 Jun 26 2012 group drwxrwxr-x 2 root root 0 Dec 4 2012 initramfs.d -rw-rw-r-- 1 root root 60 Dec 4 2012 initrd_modules -rw-rw-r-- 1 root root 279 Dec 4 2012 modules -rw-rw-r-- 1 root root 300 Jun 26 2012 passwd drwxrwxr-x 3 root root 0 Dec 4 2012 sysconfig # cat board.cfg BOARD_TYPE="cube" # cat busybox.conf [SUID] su = ssx root.0 # cat boot.cfg PARTITIONS="1024k(mboot1),1024k(mboot2),3200k(recovery1),12800k(recovery2),3200k(kernel1),3200k(kernel2),4608k(initrd1),4608k(initrd2),72192k(rootfs),36608k(config),-(data)" ROOTFS_PART=8