Miko Gitlab Repository

README.md 1.64 KB

emk4_os

  1. kernal build steps a. open terminal in same folder b. cd into kernel-4.4.94 c. used command :- make menuconfig d. change configuration as per requeriment e. used command :- make uImage f. updated uImage will found in /emk4_os/kernel-4.4.94/arch/mips/boot/ location

  2. uboot build steps a. open terminal in same folder
    b. cd into uboot c. modified the .c and .h as per requirement d. used command to build uboot :- make isvp_t40n_msc1

  3. rootfs build steps a. add all required files and folder in to root-glibc-toolchain720 b. run script :- ./build_rootfs.sh c. make folder rootfs in mnt folder d. mount -t squashfs rootfs.squashfs /mnt/rootfs

  4. system build steps a. add all required files and folder in to system b. make folder tmpfs in mnt folder c. run script :- ./build_system.sh d. double click on system.img to mount in linux.

  5. serial number adding steps a. modified serial_number.txt with your bot serial number. b. copy file in to bot over nfs or lrz. c. used command in bot :- dd if=./serial_number.txt of=/dev/mmcblk0p4 d. remove serial number:- 1. command :- cd /system/bin/ 2. command :- dd if=/dev/zero of=/system/bin/serial_remove.img bs=1M count=2 3. command :- dd if=./serial_remove.img of=/dev/mmcblk0p4

  6. Command to update os with dd command. a. copy all data to ingenic t40n throught nfs or lrz b. uboot flash command :- dd if=u-boot-with-spl-mbr-gpt_adc.bin of=/dev/mmcblk0 c. kernal flash command :- dd if=uImage of=/dev/mmcblk0p1 d. rootfs flash command :- dd if=rootfs.squashfs of=/dev/mmcblk0p2