瀏覽代碼

system initial version

Signed-off-by: hongkun <hongkun.cao@cxmt.com>
hongkun 3 年之前
當前提交
6a1e91e06b
共有 100 個文件被更改,包括 143 次插入0 次删除
  1. 二進制
      rootfs_decoder/home/decoder
  2. 6 0
      rootfs_decoder/home/startapp.sh
  3. 二進制
      rootfs_decoder/mkfs.minix
  4. 57 0
      rootfs_decoder/mkrootfs.sh
  5. 1 0
      rootfs_decoder/rootfs/bin/addgroup
  6. 1 0
      rootfs_decoder/rootfs/bin/adduser
  7. 1 0
      rootfs_decoder/rootfs/bin/ash
  8. 1 0
      rootfs_decoder/rootfs/bin/base64
  9. 二進制
      rootfs_decoder/rootfs/bin/busybox
  10. 二進制
      rootfs_decoder/rootfs/bin/busybox_new
  11. 1 0
      rootfs_decoder/rootfs/bin/cat
  12. 1 0
      rootfs_decoder/rootfs/bin/catv
  13. 1 0
      rootfs_decoder/rootfs/bin/chgrp
  14. 1 0
      rootfs_decoder/rootfs/bin/chmod
  15. 1 0
      rootfs_decoder/rootfs/bin/chown
  16. 1 0
      rootfs_decoder/rootfs/bin/conspy
  17. 1 0
      rootfs_decoder/rootfs/bin/cp
  18. 1 0
      rootfs_decoder/rootfs/bin/cpio
  19. 1 0
      rootfs_decoder/rootfs/bin/cttyhack
  20. 1 0
      rootfs_decoder/rootfs/bin/date
  21. 1 0
      rootfs_decoder/rootfs/bin/dd
  22. 1 0
      rootfs_decoder/rootfs/bin/delgroup
  23. 1 0
      rootfs_decoder/rootfs/bin/deluser
  24. 1 0
      rootfs_decoder/rootfs/bin/df
  25. 1 0
      rootfs_decoder/rootfs/bin/dmesg
  26. 1 0
      rootfs_decoder/rootfs/bin/dnsdomainname
  27. 1 0
      rootfs_decoder/rootfs/bin/dumpkmap
  28. 1 0
      rootfs_decoder/rootfs/bin/echo
  29. 1 0
      rootfs_decoder/rootfs/bin/ed
  30. 1 0
      rootfs_decoder/rootfs/bin/egrep
  31. 1 0
      rootfs_decoder/rootfs/bin/false
  32. 1 0
      rootfs_decoder/rootfs/bin/fdflush
  33. 1 0
      rootfs_decoder/rootfs/bin/fgrep
  34. 1 0
      rootfs_decoder/rootfs/bin/fsync
  35. 1 0
      rootfs_decoder/rootfs/bin/getopt
  36. 1 0
      rootfs_decoder/rootfs/bin/grep
  37. 1 0
      rootfs_decoder/rootfs/bin/gunzip
  38. 1 0
      rootfs_decoder/rootfs/bin/gzip
  39. 二進制
      rootfs_decoder/rootfs/bin/hicore
  40. 二進制
      rootfs_decoder/rootfs/bin/hiddrs
  41. 二進制
      rootfs_decoder/rootfs/bin/hier
  42. 二進制
      rootfs_decoder/rootfs/bin/hiew
  43. 二進制
      rootfs_decoder/rootfs/bin/hil2s
  44. 二進制
      rootfs_decoder/rootfs/bin/himc
  45. 二進制
      rootfs_decoder/rootfs/bin/himd
  46. 二進制
      rootfs_decoder/rootfs/bin/himd.l
  47. 二進制
      rootfs_decoder/rootfs/bin/himm
  48. 1 0
      rootfs_decoder/rootfs/bin/hostname
  49. 1 0
      rootfs_decoder/rootfs/bin/hush
  50. 1 0
      rootfs_decoder/rootfs/bin/ionice
  51. 1 0
      rootfs_decoder/rootfs/bin/iostat
  52. 1 0
      rootfs_decoder/rootfs/bin/ip
  53. 1 0
      rootfs_decoder/rootfs/bin/ipaddr
  54. 1 0
      rootfs_decoder/rootfs/bin/ipcalc
  55. 1 0
      rootfs_decoder/rootfs/bin/iplink
  56. 1 0
      rootfs_decoder/rootfs/bin/iproute
  57. 1 0
      rootfs_decoder/rootfs/bin/iprule
  58. 1 0
      rootfs_decoder/rootfs/bin/iptunnel
  59. 1 0
      rootfs_decoder/rootfs/bin/kill
  60. 1 0
      rootfs_decoder/rootfs/bin/linux32
  61. 1 0
      rootfs_decoder/rootfs/bin/linux64
  62. 1 0
      rootfs_decoder/rootfs/bin/ln
  63. 1 0
      rootfs_decoder/rootfs/bin/login
  64. 1 0
      rootfs_decoder/rootfs/bin/ls
  65. 1 0
      rootfs_decoder/rootfs/bin/lzop
  66. 1 0
      rootfs_decoder/rootfs/bin/makemime
  67. 1 0
      rootfs_decoder/rootfs/bin/mkdir
  68. 二進制
      rootfs_decoder/rootfs/bin/mke2fs
  69. 二進制
      rootfs_decoder/rootfs/bin/mkfs.ext2
  70. 二進制
      rootfs_decoder/rootfs/bin/mkfs.ext3
  71. 二進制
      rootfs_decoder/rootfs/bin/mkfs.ext4
  72. 1 0
      rootfs_decoder/rootfs/bin/mknod
  73. 1 0
      rootfs_decoder/rootfs/bin/mktemp
  74. 1 0
      rootfs_decoder/rootfs/bin/more
  75. 1 0
      rootfs_decoder/rootfs/bin/mount
  76. 1 0
      rootfs_decoder/rootfs/bin/mountpoint
  77. 1 0
      rootfs_decoder/rootfs/bin/mpstat
  78. 1 0
      rootfs_decoder/rootfs/bin/mt
  79. 1 0
      rootfs_decoder/rootfs/bin/mv
  80. 1 0
      rootfs_decoder/rootfs/bin/netstat
  81. 1 0
      rootfs_decoder/rootfs/bin/nice
  82. 1 0
      rootfs_decoder/rootfs/bin/pidof
  83. 1 0
      rootfs_decoder/rootfs/bin/ping
  84. 1 0
      rootfs_decoder/rootfs/bin/ping6
  85. 1 0
      rootfs_decoder/rootfs/bin/pipe_progress
  86. 1 0
      rootfs_decoder/rootfs/bin/powertop
  87. 1 0
      rootfs_decoder/rootfs/bin/printenv
  88. 1 0
      rootfs_decoder/rootfs/bin/ps
  89. 1 0
      rootfs_decoder/rootfs/bin/pwd
  90. 1 0
      rootfs_decoder/rootfs/bin/reformime
  91. 1 0
      rootfs_decoder/rootfs/bin/rev
  92. 1 0
      rootfs_decoder/rootfs/bin/rm
  93. 1 0
      rootfs_decoder/rootfs/bin/rmdir
  94. 1 0
      rootfs_decoder/rootfs/bin/rpm
  95. 1 0
      rootfs_decoder/rootfs/bin/run-parts
  96. 1 0
      rootfs_decoder/rootfs/bin/scriptreplay
  97. 1 0
      rootfs_decoder/rootfs/bin/sed
  98. 1 0
      rootfs_decoder/rootfs/bin/setarch
  99. 1 0
      rootfs_decoder/rootfs/bin/setserial
  100. 0 0
      rootfs_decoder/rootfs/bin/sh

二進制
rootfs_decoder/home/decoder


+ 6 - 0
rootfs_decoder/home/startapp.sh

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "==================== This is test only ===================="
+if [ -e /home/decoder ] ; then
+	/home/decoder &
+fi

二進制
rootfs_decoder/mkfs.minix


+ 57 - 0
rootfs_decoder/mkrootfs.sh

@@ -0,0 +1,57 @@
+echo "*********************************"
+echo "*     make root file system     *"
+echo "*********************************"
+
+mkdir -p ./mnt ./rootfs ./davapp
+#cp -dR /home/wangqian/workdir/rootfs/* ./rootfs/
+#chmod 777 ./rootfs/
+
+#cp -dR /tftpboot/ttt/* ./rootfs/
+#cp -dR /home/wangqian/workdir/rootfs/* ./rootfs/
+#cp -dR ./davincifile/* ./davapp
+#mv -f ./rootfs/etc/passwd_ram ./rootfs/etc/passwd
+
+#rm -f ./rootfs/dav/1280.422 
+#rm -f ./rootfs/dav/1920.422 
+#rm -f ./rootfs/dav/lib_tls.tar.bz2
+
+#mv -f ./rootfs/dav/* ./davapp/
+
+###### 以下制作initrd ########
+dd if=/dev/zero of=./initrd bs=1024 count=65536
+/sbin/losetup /dev/loop0 ./initrd
+#./mkfs.minix /dev/loop0
+mkfs.ext2 /dev/loop0
+
+mount /dev/loop0 ./mnt
+chmod 777 ./mnt/
+rm -rf ./mnt/lost+found
+cp -dR ./rootfs/* ./mnt/
+umount ./mnt
+
+/sbin/losetup -d /dev/loop0
+gzip -9 ./initrd
+mv -f initrd.gz system/rootfs.img
+###### 制作initrd完成 ########
+
+###### 以下制作yaffs2镜像 ########
+#mv -f ./initrd.gz ./rootfs.img
+#cp ./rootfs.img ./davapp/rootfs.img
+
+#./mkyaffs2img 1 ./davapp ./davinci.img
+
+#cp ./davinci.img /tftpboot/
+
+################### clean dir ###################
+rm -rf ./mnt 
+#rm -rf ./rootfs 
+rm -rf ./davapp
+
+echo "*********************************"
+echo "*     make yafffs2 system     *"
+echo "*********************************"
+
+rm -fr system.yaffs*
+tar czvf app.tar.gz home
+mv app.tar.gz system/
+mkyaffs2image610 system  system.yaffs.2k_4bit 1 2

+ 1 - 0
rootfs_decoder/rootfs/bin/addgroup

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/adduser

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ash

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/base64

@@ -0,0 +1 @@
+busybox

二進制
rootfs_decoder/rootfs/bin/busybox


二進制
rootfs_decoder/rootfs/bin/busybox_new


+ 1 - 0
rootfs_decoder/rootfs/bin/cat

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/catv

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/chgrp

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/chmod

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/chown

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/conspy

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/cp

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/cpio

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/cttyhack

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/date

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/dd

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/delgroup

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/deluser

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/df

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/dmesg

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/dnsdomainname

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/dumpkmap

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/echo

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ed

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/egrep

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/false

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/fdflush

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/fgrep

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/fsync

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/getopt

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/grep

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/gunzip

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/gzip

@@ -0,0 +1 @@
+busybox

二進制
rootfs_decoder/rootfs/bin/hicore


二進制
rootfs_decoder/rootfs/bin/hiddrs


二進制
rootfs_decoder/rootfs/bin/hier


二進制
rootfs_decoder/rootfs/bin/hiew


二進制
rootfs_decoder/rootfs/bin/hil2s


二進制
rootfs_decoder/rootfs/bin/himc


二進制
rootfs_decoder/rootfs/bin/himd


二進制
rootfs_decoder/rootfs/bin/himd.l


二進制
rootfs_decoder/rootfs/bin/himm


+ 1 - 0
rootfs_decoder/rootfs/bin/hostname

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/hush

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ionice

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/iostat

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ip

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ipaddr

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ipcalc

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/iplink

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/iproute

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/iprule

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/iptunnel

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/kill

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/linux32

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/linux64

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ln

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/login

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ls

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/lzop

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/makemime

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mkdir

@@ -0,0 +1 @@
+busybox

二進制
rootfs_decoder/rootfs/bin/mke2fs


二進制
rootfs_decoder/rootfs/bin/mkfs.ext2


二進制
rootfs_decoder/rootfs/bin/mkfs.ext3


二進制
rootfs_decoder/rootfs/bin/mkfs.ext4


+ 1 - 0
rootfs_decoder/rootfs/bin/mknod

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mktemp

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/more

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mount

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mountpoint

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mpstat

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mt

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/mv

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/netstat

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/nice

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/pidof

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ping

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ping6

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/pipe_progress

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/powertop

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/printenv

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/ps

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/pwd

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/reformime

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/rev

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/rm

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/rmdir

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/rpm

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/run-parts

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/scriptreplay

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/sed

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/setarch

@@ -0,0 +1 @@
+busybox

+ 1 - 0
rootfs_decoder/rootfs/bin/setserial

@@ -0,0 +1 @@
+busybox

+ 0 - 0
rootfs_decoder/rootfs/bin/sh


部分文件因文件數量過多而無法顯示