If not already done, please install repo and pull the manifests as per
https:/BayLibre/ACME_manifests/blob/master/README.md
-
Review environment variables and path in setup script
acme-setup
. Check the top-level path, and make sure INSTALL_MOD_PATH is exported if you wish to use NFS. -
source acme-setup
-
make
- u-boot rebuild u-boot
- kernel rebuild kernel and modules
- clean clean kernel and u-boot
- distclean distclean, including buildroot
- rootfs untar buildroot image, build buildroot if necessary
- sdcard create contents for a standalone device booting from sdcard.
Folder 'sdcard' holds the sdcard creation scripts. In order for "make sdcard" to work, the user must define the variable ACME_SDCARD based on the detected device for the sdcard to format.
Please PAY SERIOUS ATTENTION TO NOT DESTROYING VALUABLE DEVICE CONTENT.
Especially when removing/re-inserting, always make sure that the device exported in ACME_SDCARD is the card intended to being used. Use dmesg or lsblk to check/findout.
example:
marc@marc-ThinkPad-L540:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 1,5G 0 part
├─sda2 8:2 0 65,4G 0 part
├─sda3 8:3 0 14,7G 0 part
├─sda4 8:4 0 1K 0 part
├─sda5 8:5 0 376,5G 0 part /
└─sda6 8:6 0 7,7G 0 part [SWAP]
sdb 8:16 0 14,9G 0 disk
└─sdb1 8:17 0 14,9G 0 part
sdc 8:32 0 232,9G 0 disk
└─sdc1 8:33 0 232,9G 0 part /home/marc/work
sdd 8:48 1 7,4G 0 disk
├─sdd1 8:49 1 52M 0 part /media/marc/boot
└─sdd2 8:50 1 968M 0 part /media/marc/rootfs
sde 8:64 1 1,9G 0 disk
└─sde1 8:65 1 1,9G 0 part /media/marc/JUNO
sr0 11:0 1 1024M 0 rom
marc@marc-ThinkPad-L540:~$ export ACME_SDCARD=/dev/sdd