You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. RCW binary - Distribured by NXP at `https://github.com/nxp-qoriq/qoriq-rcw-bin` or can be generated using `https://github.com/nxp-qoriq/rcw/tree/master/ls1028ardb/R_SQPP_0x85bb` (tested with `rcw_1300.bin`)
1129
+
2. woflBoot
1130
+
3. Application - Test app found in `test-app/app_nxp_ls1028a.c`
1131
+
1132
+
Once you have all components, you can use a lauterbach or CW to flash NOR flash. You must flash RCW, wolfboot and singed_image. `factory.bin` can be used which is wolfboot and the signed image merged. You will need to build a signed image for every update to the application code, which can be done by using keytools in `tools/keytools/sign` see `docs/Signing.md` for more details
1133
+
and to sign a custom image.
1134
+
1135
+
```
1136
+
Usage: tools/keytools/sign [options] image key version
1137
+
```
1138
+
1139
+
#### Lauterbach Flashing and Debugging
1140
+
1141
+
1. Launch lauterbach and open the demo script `debug_wolfboot.cmm`.
1142
+
2. Open any desired debug windows.
1143
+
3. Hit the play button on the demo script.
1144
+
4. It should pop up with a code window and at the reset startpoint. (May requrie a reset or power cycle)
1145
+
1146
+
```
1147
+
./t32/bin/macosx64/t32marm-qt
1148
+
1149
+
Open Script > debug_wolfboot.cmm
1150
+
```
1151
+
1152
+
You can modify the Lauterbach NOR flash demo or use `debug_wolfboot.cmm` script, just make sure the flash offset for
1153
+
the RCW is `0x0` and the address offset for wolboot is `0x1000`.
1154
+
1155
+
#### Other Tools
1156
+
1157
+
1. Make sure the memory addresses are alinged with the `.config` file.
1158
+
2. Note the important NOR flash addresses in the defualt config are as follows.
1159
+
3. RCW location is offset `0x0` or `0x20000000` memory mapped.
1160
+
4. Wolfboot location is offset `0x1000` or `0x20001000` where wolfboot starts.
1161
+
5. Application location is offset `0x20000` or `0x20020000` where application code goes.
1162
+
6. Update location is offset `0x40000` or `0x20040000` where the new or updated applciaiton goes.
1163
+
7. Load Location is `0x18020100` which is OCRAM or where the applciaiton code is loaded if using RAM loading from
1164
+
8. DTS Location is
1165
+
9. Update memory locations as neeeded.
1166
+
1167
+
1076
1168
## Cortex-A53 / Raspberry PI 3 (experimental)
1077
1169
1078
1170
Tested using `https://github.com/raspberrypi/linux` on Ubuntu 20
0 commit comments