Turris Netboot issueshttps://gitlab.nic.cz/turris/turris-netboot/-/issues2024-03-12T13:33:39+01:00https://gitlab.nic.cz/turris/turris-netboot/-/issues/6Netboot doesn't work with new uboot >=2021 version2024-03-12T13:33:39+01:00Tomas ZakNetboot doesn't work with new uboot >=2021 versionDuring testing HBL/HBK branch I found out, that Turris MOX doesn't work with newer version of U-BOOT. Let me describe, what I found.
If I use the newest stable version of u-boot (2022) for MOX, initramfs is not loaded so all boot proces...During testing HBL/HBK branch I found out, that Turris MOX doesn't work with newer version of U-BOOT. Let me describe, what I found.
If I use the newest stable version of u-boot (2022) for MOX, initramfs is not loaded so all boot process ended in Kernel panic. There is mox.its file which defines addresses and parameters of kernel, initramfs and device tree. When I use the latest u-boot (2022) the part which defines initramfs is ignored.
I tried to change u-boot enviroment and set same parameters as older working u-boot version has (for example 2018, 2021), but without success.
If I use u-boot ver. 2021 (workaround 4), netboot is working, but with problems at the begging. There are 2 problems what I got everytime, when I paired Omnia/Turris1x with MOX for the first time.
1.) When paring Omnia/Turris1X for the first time with MOX, it stucks on Starting kernel... and after some time MOX reboots itself and then boot normally until it reaches the point 2.
2.) After pairing and during loading kernel it stucks for short time on:
```Bash
...
./boot/Image
```
And then again MOX reboots itself.
Last run (third) is working normally and Omnia/Turris1x pairs with MOX and MOX successfully boot to running system. After this point (routers are paired and MOX started into running system for the first time) everything is working as it should.
With older version of u-boot (2018) everything running smooth and without any troubles.
I used u-boot from this url:
https://gitlab.nic.cz/turris/mox-boot-builder/-/releasesMarek BehunMarek Behunhttps://gitlab.nic.cz/turris/turris-netboot/-/issues/3Check arguments2019-08-02T16:45:25+02:00Michal HruseckyCheck argumentsMake sure only meaningful values are passed in and error out and output help if not.Make sure only meaningful values are passed in and error out and output help if not.https://gitlab.nic.cz/turris/turris-netboot/-/issues/2Remove hardcoded paths2019-08-02T16:43:13+02:00Michal HruseckyRemove hardcoded pathsChange absolute paths to just command names and use defined variables for hard-coded paths.Change absolute paths to just command names and use defined variables for hard-coded paths.https://gitlab.nic.cz/turris/turris-netboot/-/issues/1Use `set -e`2019-08-02T16:39:15+02:00Michal HruseckyUse `set -e`Make sure that everything works and add explicit handling where we don't care about results.Make sure that everything works and add explicit handling where we don't care about results.