Skip to content

Commit 94f6975

Browse files
authored
Clarified Bootloader installation
Added a clearer structure regarding the installation of the bootloader
1 parent be9773b commit 94f6975

File tree

1 file changed

+13
-6
lines changed
  • content/docs/custom-firmware/cc3200/hackieboxng-bl

1 file changed

+13
-6
lines changed

content/docs/custom-firmware/cc3200/hackieboxng-bl/install.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ You will find a directory called flash there for the file(s) that need to be cop
2424
If you don't mind a slightly slower boot but want some log output via UART (Baud 921600, TX Pin) use the debug variant (check the ngCfg.json to enable it!).
2525

2626
### Preface
27-
If you have previously installed the CFW SD Bootloader please use *1b)* otherwise for first time installation please use *1a)*.
27+
Installing the new bootloader is split into two stages and differs whether it's a first install or and update to an existing installation:
28+
* Stage 1: Install the preloader
29+
* [1a) First time installation](#stage1a)
30+
* [1b) Existing installation](#stage1b)
31+
* [Stage 2: Install the bootloader](#stage2)
2832

29-
### 1a) Preloader (Stage 1) - For first time installation
33+
### Stage 1a: Preloader, first time installation {#stage1a}
3034

3135
#### Move original bootloader
3236
First of all you need to copy your just backuped original mcuimg.bin (original bootloader) from your toniebox to a different location (flash:/sys/pre-img.bin) to boot it with the HackieboxNG Bootloader later on.
@@ -52,7 +56,10 @@ cc3200tool -p COM3 read_file /sys/mcuimg1.bin mcuimg1.bin read_file /sys/mcuimg2
5256
```
5357
To check which version the dumped firmwares are you may just open it with a hex editor (quite at the end) or use our [python tool](https://github.com/toniebox-reverse-engineering/toniebox/blob/master/tools/firmware_info.py) to extract it. If you found a new firmware, let us know by opening a push request for [our known firmware listing](https://toniebox-reverse-engineering.github.io/docs/wiki/cc3200/firmware-list/) in the wiki.
5458

55-
### 1b) Preloader (Stage 1) - For updating the sd bootloader
59+
#### Preloader installation finished
60+
You've installed the Preloader onto the Toniebox. Please continue with [Stage 2: Installing the bootloader](#stage2) onto the SD card.
61+
62+
### Stage 1b: Preloader, updating existing installation {#stage1b}
5663
You may use the (old) Hackiebox CFW to upload the preloader. This way you can install it over the air without direct access to the flash if you have already installed a previous version of the cfw bootloader/preloader. Just run the Hackiebox CFW and use the webinterface to upload the new /sys/mcuimg.bin.
5764

5865
#### Backup
@@ -76,14 +83,14 @@ To verify that the upload was successful you can download the mcuimg.bin from fl
7683
http://*.*.*.*/api/ajax?cmd=get-flash-file&filepath=/sys/mcuimg.bin
7784
```
7885

79-
### 2) Bootloader (Stage 2)
86+
### Stage 2: Installing the Bootloader {#stage2}
8087
#### SD files
81-
Copy over all the contents of the *sd* folder the sd card of the toniebox.
88+
Copy over all the contents of the *sd* folder to the sd card of the toniebox.
8289
Copy over the original bootloader (mcuimg.bin from your backup) to the first ofw slot *sd:/revvox/boot/ng-ofw1.bin*.
8390
Now the HackieboxNG bootloader will instantly boot the original bootloader and run the original firmware.
8491

8592
Note: The preloader will load any file placed to *sd:/revvox/boot/ngbootloader.bin*.
8693

8794

8895

89-
[More about the different firmware slots and the configuration here.](../bootloader)
96+
[More about the different firmware slots and the configuration here.](../bootloader)

0 commit comments

Comments
 (0)