Difference between revisions of "Beaglebone Black/Flashing"
From Teknologisk videncenter
m |
m |
||
Line 11: | Line 11: | ||
#Indsæt microSD kort | #Indsæt microSD kort | ||
#Check at filen /dev/mmcblk0 eksisterer (Undgå at lave en fil) | #Check at filen /dev/mmcblk0 eksisterer (Undgå at lave en fil) | ||
− | # | + | #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 |
− | |||
#shutdown -r 0 | #shutdown -r 0 | ||
#login | #login | ||
Line 21: | Line 20: | ||
#Install debian [[C linux development]] tools | #Install debian [[C linux development]] tools | ||
[[Image:BBB serial.JPG|500px]] | [[Image:BBB serial.JPG|500px]] | ||
+ | =Applying new 2023 image== | ||
+ | #Remove micro-SD card | ||
+ | #Boot from old-image on on-board flash (mmcblk1) | ||
+ | #insert micro-SD card | ||
+ | ##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 | ||
+ | #shutdown -h 0 | ||
+ | #Remove power from board | ||
+ | #Press down boot-switch - The lonely switch in the USB-A end of the board and apply power | ||
+ | ## The board now boots from the new image on the Micro-SD card and flashes the onboard flash. (Take 15 minutes or so) | ||
+ | ## Recommend console while doing it. | ||
=Links= | =Links= |
Revision as of 16:48, 16 November 2023
Flash microSD kort
Ved opstart af BBB er det vigtigt at du
- Ikke placerer boardet på ledende materiale (Metal fx)
- Tilslutter det serielle kabel - (Sort ledning skal vende op imod ethernet stikket)
- Se billede herunder
- Åbner terminalemulator for eksempel putty eller mobaXterm
- Find COM port nummeret og sæt baudRate til 115200
- Boot fra den indbyggede flash. (microSD kort ikke indsat)
- Login
- sudo bash
- Indsæt microSD kort
- Check at filen /dev/mmcblk0 eksisterer (Undgå at lave en fil)
- 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
- shutdown -r 0
- login
- df -h (Check at det er /dev/mmcblk0p1 der er under /)
- kør /opt/scripts/tools/grow_partition.sh
- shutdown -r 0
- check med df -h at ”/” har cirka 8 GB
- Install debian C linux development tools
Applying new 2023 image=
- Remove micro-SD card
- Boot from old-image on on-board flash (mmcblk1)
- insert micro-SD card
- 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
- shutdown -h 0
- Remove power from board
- Press down boot-switch - The lonely switch in the USB-A end of the board and apply power
- The board now boots from the new image on the Micro-SD card and flashes the onboard flash. (Take 15 minutes or so)
- Recommend console while doing it.