04-25-2020, 01:14 AM
(04-23-2020, 11:01 AM)wibble Wrote: Glad to hear you've sorted it. Perhaps you could add some details of what you've done to the wiki in case anyone else wants to try buildroot.
Hi,
i do not have much experience in writing. I can share the configuration files and the steps I followed to build a simple linux system.
1. I created scripts to
a. Format sdcard to fat/ext4
b. flash the uboot built from source
c. update boot.cmd direcrtly on sdcard to boot.scr.
d. updating kernel to sdcard built from source
e. build a initramdfs using busybox built from source
2. Used buildroot latest version to build the rootfs
3. Write script to
a. copy rootfs.ext4 to sdcard
b. copy kernel modules to sdcard
c. copy custom init scripts and wifi configurations to sdcard.
WIP:
1. Making gcc work on the device directly
2. build simple systemcall based apps on device directly.
Thanks