2 USB drives > 2GB
- Grab the latest Ubuntu Desktop iso image
| Script started on 2024-10-28 21:50:56+01:00 [COMMAND="/awork/nuttx/NuttX/farm/run-job.sh xtensa-01" TERM="screen.xterm-256color" TTY="/dev/pts/9" COLUMNS="190" LINES="48"] | |
| latest: Pulling from apache/nuttx/apache-nuttx-ci-linux | |
| Digest: sha256:15949c71a5b70cd12ff63ff326c1d002fd41b8eda504f174c00e96d49b5c4cd5 | |
| Status: Image is up to date for ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest | |
| ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest | |
| /root | |
| Cloning into 'nuttx'... | |
| remote: Enumerating objects: 803193, done. | |
| remote: Counting objects: 0% (1/2839)remote: Counting objects: 1% (29/2839)remote: Counting objects: 2% (57/2839)remote: Counting objects: 3% (86/2839)remote: Counting objects: 4% (114/2839)remote: Counting objects: 5% (142/2839)remote: Counting objects: 6% (171/2839)remote: Counting objects: 7% (199/2839)remote: Counting objects: 8% (228/2839)remote: Counting objects: 9% (256/2839)remote: Counting objects: 10% (284/2839)remote: Counting objects: 11% (313/2839)remote: Counting objects |
| 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 |