104 lines
2.0 KiB
Plaintext
104 lines
2.0 KiB
Plaintext
IOT-VM
|
||
login = linux
|
||
pass = linux
|
||
|
||
|
||
- ESC button = erase flash memory
|
||
|
||
- RIGHT button = boot in U-boot console
|
||
- DOWN button = tftp update system
|
||
- UP button = usb update system
|
||
|
||
|
||
USB update
|
||
Plaats bestanden op USB stick
|
||
- core9g25-nandflashboot–uboot.bin
|
||
- u-boot.bin
|
||
- h1502r11.dtb
|
||
- rootfs.ubi
|
||
- zImage
|
||
- h1502r11-update-usb
|
||
|
||
USB stick in H1502R11
|
||
- restart board
|
||
- houd UP knop ingedrukt to update begint
|
||
|
||
|
||
|
||
**** building at91bootstrap ****
|
||
- clone git repro
|
||
- run build_h1502.sh
|
||
- gebruik file binaries/core9g25-nandflashboot--uboot-X.X.X.bin
|
||
-- rename file naar core9g25-nandflashboot/-uboot.bin
|
||
|
||
**** building uboot ****
|
||
- clone repro
|
||
- run build-h1502.sh
|
||
- gebruik file u-boot.bin
|
||
|
||
-- om update scripts te wijzigen gebruik /u-boot/board/sdn/updatescript
|
||
|
||
**** building buildroot ****
|
||
- clone repro
|
||
- run build-h1502.sh
|
||
- gebruik folder /output/images
|
||
-- h1502.dtb
|
||
-- rootf.ubi
|
||
-- zImage
|
||
|
||
|
||
|
||
*** first time programming ***
|
||
- gebruik SAM-BA v2.16
|
||
- start SAM-BA
|
||
- select com port
|
||
select board at91sam9x25-ek
|
||
- click "connect"
|
||
- click tab "NandFlash"
|
||
- execute script "Enable NandFlash"
|
||
- selecteer bestand "u-boot.bin" in Send File Name
|
||
- Address is 0x40000
|
||
- click send File
|
||
- execute script "Send boot File"
|
||
- Selecteer bestand "core9g25-nandflashboot-uboot-X.X.X.bin"
|
||
- exit SAM-BA
|
||
|
||
- Open putty op debug comport met 115200
|
||
- LEFT button ingedrukt houden
|
||
- herstart print
|
||
|
||
- u-boot console
|
||
- type command "printenv"
|
||
- serverip is het tftp server address
|
||
- om het te wijzigen type "setenv serverip 192.168.0.141"
|
||
- om het op te slaan type "saveenv"
|
||
|
||
|
||
|
||
*** Buildroot **
|
||
|
||
- Clean config
|
||
-- make clean
|
||
-- make distclean
|
||
|
||
- activate config
|
||
-- make h1502r11_defconfig
|
||
|
||
- edit buildroot config
|
||
-- make menuconfig
|
||
-- make savedefconfig
|
||
|
||
- edit linux config
|
||
-- make linux-menuconfig
|
||
-- make linux-update-defconfig
|
||
|
||
- edit busybox config
|
||
-- make busybox-menuconfig
|
||
-- make busybox-update-config
|
||
|
||
|
||
|
||
*** Update board ***
|
||
|
||
- boot in u-boot console
|