2 USB drives > 2GB
- Grab the latest Ubuntu Desktop iso image
| **************************************** | |
| * NUTTX RTOS RELEASE BUILD TEST SCRIPT * | |
| **************************************** | |
| NX BRANCH : nuttx-12.12.0-RC0 | |
| NX RTOS LOC : /tmp/nuttx/nuttx.git | |
| NX APPS LOC : /tmp/nuttx/nuttx-apps.git | |
| TARGET : STM32F769I-DISCO | |
| BUILD HOST : FreeBSD hexagon 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 GENERIC amd64 |
| **************************************** | |
| * NUTTX RTOS RELEASE BUILD TEST SCRIPT * | |
| **************************************** | |
| NX BRANCH : nuttx-12.12.0-RC0 | |
| NX RTOS LOC : /tmp/nuttx/nuttx.git | |
| NX APPS LOC : /tmp/nuttx/nuttx-apps.git | |
| TARGET : ESP32C6 | |
| BUILD HOST : FreeBSD hexagon 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 GENERIC amd64 |
| const std = @import("std"); | |
| /// Zig version. When writing code that supports multiple versions of Zig, prefer | |
| /// feature detection (i.e. with `@hasDecl` or `@hasField`) over version checks. | |
| pub const zig_version = std.SemanticVersion.parse(zig_version_string) catch unreachable; | |
| pub const zig_version_string = "0.12.0-dev.xtensa.2858+8e52bb152"; | |
| pub const zig_backend = std.builtin.CompilerBackend.stage2_llvm; | |
| pub const output_mode = std.builtin.OutputMode.Obj; | |
| pub const link_mode = std.builtin.LinkMode.Static; | |
| pub const is_test = false; |
| ############################################################################## | |
| # In this document, we outline the steps required to make a standalone flash | |
| # image for the Ox64 that boots NuttX. We will be using the OpenBouffalo | |
| # buildroot overlay to help us with this, but we will not be building the | |
| # Linux kernel or rootfs. | |
| ############################################################################## | |
| # We are using a patched OpenBouffalo overlay so that NuttX is loaded at | |
| # 0x50200000 instead of 0x50000000. If you wish, you can build your own | |
| # NuttX image whose memory map starts at 0x50000000, and then continue following |
| #!/usr/bin/env bash | |
| ## Validate NuttX Release for PinePhone | |
| ## Based on https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release | |
| ## Sample Output: https://gist.github.com/lupyuen/5760e0375d44a06b3c730a10614e4d24 | |
| ## clear && cd /tmp && script release.log ~/PinePhone/wip-nuttx/release.sh | |
| echo ----- Validate NuttX Release for PinePhone | |
| ## TODO: Update PATH | |
| export PATH="$PATH:/Applications/ArmGNUToolchain/11.3.rel1/aarch64-none-elf/bin" |
| ## How to Resolve Conflicts for Downstream vs Upstream NuttX | |
| export MERGE_BRANCH=TODO_CHANGE_THIS | |
| cd /tmp | |
| git clone --branch $MERGE_BRANCH https://github.com/lupyuen/nuttx | |
| cd nuttx | |
| git status | |
| git checkout -b apache-master $MERGE_BRANCH | |
| git pull https://github.com/apache/nuttx.git master |