Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bootloader-update.md #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions doc/grisp2/bootloader-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Use the following instructions to update the Barebox boot loader for GRiSP 2 to the latest version.

1. Copy barebox/barebox-phytec-phycore-imx6ul-emmc-512mb.img from this repository to a FAT32 formatted SD card (assuming the path `/Volumes/GRISP` to the SD card):
1. Copy `barebox/barebox-phytec-phycore-imx6ull-emmc-512mb.img` from this repository to a FAT32 formatted SD card (assuming the path `/Volumes/GRISP` to the SD card):

```sh
$ cd grisp2-rtems-toolchain
$ cp barebox/barebox-phytec-phycore-imx6ul-emmc-512mb.img /Volumes/GRISP/
$ cp barebox/barebox-phytec-phycore-imx6ull-emmc-512mb.img /Volumes/GRISP/
$ diskutil unmount /Volumes/GRISP # macOS
```

2. Boot the board and abort the standard boot sequence by pressing enter at the prompt:
2. Connect to the Erlang node running on your board ([over a Serial](https://github.com/grisp/grisp/wiki/Connecting-over-Serial) or [remotely via Ethernet](https://github.com/grisp/grisp/wiki/Connecting-over-Serial)), press the RESET button and abort the standard boot sequence by pressing `<Enter>` at the prompt:

```
barebox 2019.01.0-bsp-yocto-i.mx6ul-pd19.1.1 #5 Thu Aug 26 14:45:01 CEST 2021
Expand Down Expand Up @@ -47,7 +47,7 @@ Use the following instructions to update the Barebox boot loader for GRiSP 2 to
mmc0: registered mmc0
.
..
barebox-phytec-phycore-imx6ul-emmc-512mb.img
barebox-phytec-phycore-imx6ull-emmc-512mb.img
grisp.ini
loader
myrelease
Expand All @@ -56,9 +56,9 @@ Use the following instructions to update the Barebox boot loader for GRiSP 2 to
4. Boot from that boot loader to verify that it works:

```
...:/ bootm /mnt/mmc/barebox-phytec-phycore-imx6ul-emmc-512mb.img
...:/ bootm /mnt/mmc/barebox-phytec-phycore-imx6ull-emmc-512mb.img

Loading ARM barebox image '/mnt/mmc/barebox-phytec-phycore-imx6ul-emmc-512mb.img'
Loading ARM barebox image '/mnt/mmc/barebox-phytec-phycore-imx6ull-emmc-512mb.img'
commandline: consoleblank=0 console=ttymxc0,115200n8 rootwait ro fsck.repair=yes
Starting kernel in secure mode

Expand All @@ -71,15 +71,15 @@ Use the following instructions to update the Barebox boot loader for GRiSP 2 to
5. Reset the board (into the old bootloader, or load the new bootloader again) and flash the new boot loader (press <kbd>y</kbd> when prompted):

```
...:/ barebox_update /mnt/mmc/barebox-phytec-phycore-imx6ul-emmc-512mb.img
barebox_update /mnt/mmc/barebox-phytec-phycore-imx6ul-emmc-512mb.img
...:/ barebox_update /mnt/mmc/barebox-phytec-phycore-imx6ull-emmc-512mb.img
barebox_update /mnt/mmc/barebox-phytec-phycore-imx6ull-emmc-512mb.img
mmc0: detected SD card version 2.0
mmc0: registered mmc0
Image Metadata:
build: #5 Thu Aug 26 14:45:01 CEST 2021
release: 2019.01.0-bsp-yocto-i.mx6ul-pd19.1.1
parameter: memsize=512
update barebox from /mnt/mmc/barebox-phytec-phycore-imx6ul-emmc-512mb.img using handler mmc1 to /dev/mmc1 (y/n)? y
update barebox from /mnt/mmc/barebox-phytec-phycore-imx6ull-emmc-512mb.img using handler mmc1 to /dev/mmc1 (y/n)? y
updating barebox...
update succeeded
...:/
Expand Down
Loading