README 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Build
  2. =====
  3. First, configure Buildroot for your WarpBoard.
  4. make warpboard_defconfig
  5. Build all components:
  6. make
  7. You will find in ./output/images/ the following files:
  8. - imx6sl-warp.dtb
  9. - rootfs.ext4
  10. - rootfs.tar
  11. - sdcard.img
  12. - u-boot.imx
  13. - zImage
  14. Update uboot
  15. ============
  16. - Put warpboard in USB download mode by closing the j2 jumper on the
  17. daugther board
  18. - Load u-boot.imx in the WarpBoard by using the imx-usb-loader host utility:
  19. $ ./output/host/bin/imx_usb -c output/host/etc/imx-loader.d/ output/images/u-boot.imx
  20. - U-Boot will appear in minicom
  21. - Reset the U-Boot environment to its default:
  22. => env default -f -a
  23. => saveenv
  24. - Run the DFU command in U-Boot:
  25. => dfu 0 mmc 0
  26. - Transfer U-Boot into flash by running this command in host side:
  27. $ sudo ./output/host/bin/dfu-util -D output/images/u-boot.imx -a boot
  28. - remove power and put the WarpBoard back into normal boot mode by
  29. opening the j2 jumper.
  30. Update linux & rootfs
  31. =====================
  32. Run the 'ums' command from the U-Boot prompt to mount the eMMC as USB mass
  33. storage:
  34. => ums 0 mmc 0
  35. And then flash the sdcard.img into the eMMC:
  36. dd if=output/images/sdcard.img of=/dev/<your-sd-device>
  37. *** WARNING! This will destroy all the eMMC content. Use it with care! ***
  38. Using bluetooth
  39. ================
  40. Enable the bluez_utils or bluez5_utils package, and then run:
  41. $ hciattach /dev/ttymxc4 any
  42. $ hciconfig hci0 up
  43. Using Wifi
  44. ==========
  45. # modprobe brcmfmac
  46. # iwconfig wlan0 essid ACCESSPOINTNAME
  47. # wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
  48. (enter the wifi password and press enter)
  49. # wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
  50. # udhcpc -i wlan0
  51. # ping buildroot.org
  52. Enjoy!