-
Notifications
You must be signed in to change notification settings - Fork 0
bkardosa/meta-sd96
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
meta-sd96 layer will create various uSD card images running on the Shield96 board. It is possible to boot from NOR flash + uSD card or only from uSD card. Creating hostapd-image For creating the build environment one needs to use the 'repo' tool which is available in most Linux distributions. The build process will follow the "meta-atmel" way, only the build environment initialization is different and simpler. See meta-atmel: https://github.com/linux4sam/meta-atmel/tree/dunfell The required steps: - create a working directory and enter it - initialize the build folders by issuing: $ repo init -u https://github.com/bkardosa/meta-sd96.git -b dunfell $ repo sync - the above commands may display various warning or error messages which can be ignored if the last displayed lines look like this: Fetching projects: 100% (5/5), done. repo sync has finished successfully. - the following commands need to be executed for rebuilding the image: $ cd poky $ export TEMPLATECONF=${TEMPLATECONF:-../meta-atmel/conf} $ export MACHINE=sama5d27-sd96 $ source oe-init-build-env build-sd96 $ bitbake hostapd-image Rebuilding the image will take 1-2 hours or more depending on machine and internet speed and require around 22GiB disk space. Creating uSD card image - copy initial filesystem image to uSD card: $ cd tmp/deploy/images/sama5d27-sd96/ $ sudo dd if=hostapd-image-sama5d27-sd96.wic bs=1M of=/dev/sdX && sync where /dev/sdX is the location of an UNMOUNTED uSD card Booting from uSD card - insert uSD card - open J3 - connect J10 to PC - start TeraTerm or similar terminal emulator, configure the COM port to 115200,N81 - after reboot one can log in as 'root', no password
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published