Filesystem
Jump to navigation
Jump to search
How to build the X2 filesystem.
1. Use Boundary base filesystem "ltib4-no-x-20130618" as starting point.
2. Prepare an ext4 SD card having "ltib" label.
3. Changes that have to be applied to the base filesystem in order to be able to run X2 application:
kernel + modules run ist.sh under kernel distribution which will copy all needed files to /media/ltib
/etc/fstab - 128MB RAM disk and SD card auto mount /etc/fstab < add the following lines at the end: + tmpfs /mnt/ramdisk tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=128M 0 0 + /dev/mmcblk1p1 /mnt/sdcard auto defaults 0 0 Boot files / + u-boot.imx + 6x_bootscript + 6x_bootscript.txt
X2 application /root/ + x2idr.fw, + adresa.cfg, + ip.cfg, + mac.cfg, + size.cfg, + run.sh, + stream.sh, + modules.sh, + make_board_links.sh; /root/lib/ + libavccodec.so.56.0.101, + libavformat.so.56.3.100, + libavutil.so.54.7.100, + libswresample.so.1.1.100, + libswscale.so.3.0.100; /root/modules/ + event.ko, + rt5572sta.ko; /etc/rc.d/ + rc.conf < config_services += "idrive", HOSTNAME="Idrive", IPADDR0="10.3.0.254"; + init.d/idrive
/etc/Wireless/RT2870STA/ + RT2870STA.dat; + RT2870STACard.dat;
USB stick update application /root/ + update, + update_stick_log.txt; /etc/udev/rules.d/01-usb-stick.rules; /lib/udev + update.sh + reboot.sh + update
WPA Supplicant - WIFI /root/ + wpa_supplicant, + wpa_passphrase; + wpa.cfg
pppd - 3G module /etc/ppp/* /usr/sbin/ + pppd + chat + ln -s /etc/ppp/resolv.conf /etc/resolv.conf
4. Copy the files structure to the SD Card.