-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
53 lines (36 loc) · 1.86 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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/ArrowElectronics/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