add: initial support for Milk-V Jupiter/SpacemiT K1#56
add: initial support for Milk-V Jupiter/SpacemiT K1#56Owen-sz wants to merge 27 commits intoUMN-Kernel-Object:trunkfrom
Conversation
Signed-off-by: Owen <owen@fyralabs.com>
- Fixes the Nix build by removing the absolute path to Bash.
- Changes packages to be named "name/target" instead of "name-target"
- Target names also have hyphens in them, so parsing them is a bit of
a pain.
- Removes aliases for components of the image. These are still exposed
as passthru attributes, but they don't have the target name in them
any more. This should be more consistent and simpler to program around.
- Uses a "g" prefix for non-release versions instead of another
hyphenated component. This again reduces ambiguity in parsing paths.
- Adds flake checks that all the ukoOS builds succeed and all the image
builds succeed, and runs these checks in GitHub Actions.
- Prepares GitHub Actions to be used with other image targets (e.g. #56).
This is done through the all-images package; whatever files that
builds will get uploaded as artifacts.
- Fixes the REUSE tool being added as a dependency of ukoos instead of
as a devShell input.
Signed-off-by: Nathan Ringo <me@remexre.com>
- Fixes the Nix build by removing the absolute path to Bash.
- Changes packages to be named "name/target" instead of "name-target"
- Target names also have hyphens in them, so parsing them is a bit of
a pain.
- Removes aliases for components of the image. These are still exposed
as passthru attributes, but they don't have the target name in them
any more. This should be more consistent and simpler to program around.
- Uses a "g" prefix for non-release versions instead of another
hyphenated component. This again reduces ambiguity in parsing paths.
- Adds flake checks that all the ukoOS builds succeed and all the image
builds succeed, and runs these checks in GitHub Actions.
- Prepares GitHub Actions to be used with other image targets (e.g. #56).
This is done through the all-images package; whatever files that
builds will get uploaded as artifacts.
- Fixes the REUSE tool being added as a dependency of ukoos instead of
as a devShell input.
Signed-off-by: Nathan Ringo <me@remexre.com>
* Large-scale refactor of Nix flake.
- Fixes the Nix build by removing the absolute path to Bash.
- Changes packages to be named "name/target" instead of "name-target"
- Target names also have hyphens in them, so parsing them is a bit of
a pain.
- Removes aliases for components of the image. These are still exposed
as passthru attributes, but they don't have the target name in them
any more. This should be more consistent and simpler to program around.
- Uses a "g" prefix for non-release versions instead of another
hyphenated component. This again reduces ambiguity in parsing paths.
- Adds flake checks that all the ukoOS builds succeed and all the image
builds succeed, and runs these checks in GitHub Actions.
- Prepares GitHub Actions to be used with other image targets (e.g. #56).
This is done through the all-images package; whatever files that
builds will get uploaded as artifacts.
- Fixes the REUSE tool being added as a dependency of ukoos instead of
as a devShell input.
Signed-off-by: Nathan Ringo <me@remexre.com>
* Adds doc/book/ to .gitignore.
Signed-off-by: Nathan Ringo <me@remexre.com>
---------
Signed-off-by: Nathan Ringo <me@remexre.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Signed-off-by: Owen <owen@fyralabs.com>
3a3be76 to
00278bf
Compare
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <owen@fyralabs.com>
… file Signed-off-by: Owen Zimmerman <owen@fyralabs.com>
Signed-off-by: Owen <owen@fyralabs.com>
|
Should be good now. |
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
remexre
left a comment
There was a problem hiding this comment.
Test that this boots the ukoOS kernel on real hardware, plz
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
| @@ -0,0 +1,20 @@ | |||
| autoload=0 | |||
There was a problem hiding this comment.
needs testing on real hw; lmk when you did
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen-sz <owen@fyralabs.com>
|
Notes for testing: Setup: build: flash serial into the board Need to see what u-boot is doing (it's loading GRUB?) pins to reset/ignore SPI flash, since u-boot is being loaded form SPI flash? |
|
--- UPDATED NOTES --- BOOT STATUS: CHANGES: The commit after this will be updating the memory addresses in code to match that of the Jupiter, which is a temporary fix, and this should not be merged with those changes. TESTING: Go to the ukoOS u-boot repo, use commit |
Correct Jupiter nix file to load kernel into correct spot Add /boot into Jupiter genimage.cfg Update u-boot.txt with Jupiter things, and set new startaddr because the Jupiter's RAM is not the same place as the Duo S and QEMU Update files that rg told me had the Duo S/QEMU staraddr to temporarily to include the Jupiters startaddr Signed-off-by: Owen-sz <owen@fyralabs.com>
Adds genimage.cfg, brings in vendor opensbi and u-boot via nix files. Adds Jupiter dev-image