Beaglebone Black/Flashing

From Teknologisk videncenter
< Beaglebone Black
Revision as of 16:48, 16 November 2023 by Heth (talk | contribs)
Jump to: navigation, search

Flash microSD kort

Ved opstart af BBB er det vigtigt at du

  1. Ikke placerer boardet på ledende materiale (Metal fx)
  2. Tilslutter det serielle kabel - (Sort ledning skal vende op imod ethernet stikket)
    1. Se billede herunder
  3. Åbner terminalemulator for eksempel putty eller mobaXterm
    1. Find COM port nummeret og sæt baudRate til 115200
  4. Boot fra den indbyggede flash. (microSD kort ikke indsat)
  5. Login
  6. sudo bash
  7. Indsæt microSD kort
  8. Check at filen /dev/mmcblk0 eksisterer (Undgå at lave en fil)
  9. wget --no-check-certificate -qO- http://mars.tekkom.dk/data/bbb/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz | xzcat | dd bs=10M of=/dev/mmcblk0 status=progress
  10. shutdown -r 0
  11. login
  12. df -h (Check at det er /dev/mmcblk0p1 der er under /)
  13. kør /opt/scripts/tools/grow_partition.sh
  14. shutdown -r 0
  15. check med df -h at ”/” har cirka 8 GB
  16. Install debian C linux development tools

BBB serial.JPG

Applying new 2023 image=

  1. Remove micro-SD card
  2. Boot from old-image on on-board flash (mmcblk1)
  3. insert micro-SD card
    1. new image: wget --no-check-certificate -qO- https://mars.merhot.dk/data/bbb/am335x-eMMC-flasher-debian-12.2-iot-armhf-2023-10-07-4gb.img.xz | xzcat | dd bs=10M of=/dev/mmcblk0 status=progress
  4. shutdown -h 0
  5. Remove power from board
  6. Press down boot-switch - The lonely switch in the USB-A end of the board and apply power
    1. The board now boots from the new image on the Micro-SD card and flashes the onboard flash. (Take 15 minutes or so)
    2. Recommend console while doing it.

Links