-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic recipe for Boundary Devices Nitrogen6SoloX board #18
base: main
Are you sure you want to change the base?
Conversation
This drops the rpi specifics and adapts the basic stuff to the Boundary Devices Nitrogen6SoloX board.
Use the imx-specific device node name for the console argument.
We'll replace the extlinux specifics with something more similar to what flash-kernel does which seems more suitable.
The gen-bootscript.sh was copied verbatim from wandboard recipe. Note that nitrogen6sx is not part of debian u-boot-imx package and not even in upstream u-boot (yet). It will need to be built from the boundarydevices u-booti-imx6 fork.
The nit6sx support is not yet in upstream u-boot. We thus use boundarys official u-boot binary https://boundarydevices.com/wiki/u-boot/ says: > Where to get the latest binary for my platform? > > Our build server automatically generates and uploads all the latest binaries to this address: > > http://linode.boundarydevices.com/u-boot-images/ > > The README file contains the exact commit ID of this build images. The source for it is at https://github.com/boundarydevices/u-boot-imx6
The ramdiskaddr variable was not set in the built-in environment variables, so set it when needed. Also: - update comments to be in line with what's in the environment for this u-boot binary. - Replace mentions of wandboard with nit6sx.
- action: raw | ||
description: Write u-boot binary to raw image load addr | ||
origin: bootloader | ||
source: . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See go-debos/debos#77 (downloaded is a file which should be used directly, not an archive.)
description: Write u-boot binary to raw image load addr | ||
origin: bootloader | ||
source: . | ||
offset: 1024 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Note to self: This could also be written as {{ sector 2 }}
.)
This allows setting which mmc device u-boot should load kernel, dtb, initrd from when building the recipe. eg. debos -t mmcbootdev:1 nit6sx/debimage-nit6sx.yaml
Use correct syntax with setenv and use correct variable name when reading the variable.
Hi,
I made a basic recipe for the nit6sx board from Boundary Devices in case anyone is interested.
It uses a pre-built u-boot binary because the board is only supported in boundary devices u-boot fork and not in upstream u-boot.
Testing this is limited to 'it boots' (for now).
It is based on and similar to the wandboard recipe, but with the file structure updated to match the latest style recipes.
PS. debos assumption that all downloads basically are archives and that both origin and source is required arguments for raw action causes the quite ugly "source: ." workaround to be used. Possibly this is an area for improvement in debos.