Skip to content
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

qemu_v8: add uImage target #677

Merged
merged 1 commit into from
Aug 24, 2023
Merged

qemu_v8: add uImage target #677

merged 1 commit into from
Aug 24, 2023

Conversation

jforissier
Copy link
Contributor

"make linux" builds the kernel but is not sufficient to prepare all files for "make run-only". On the other hand, "make run" does a bit too many things to be used comfortably when working on the kernel.

Therefore, add target uImage which generates the kernel image ready to be used by U-Boot. With that, kernel development and testing can be done with the following sequence:

  1. make
  2. Edit kernel sources
  3. make -j$(nproc) uImage
  4. make run-only
  5. Go to 2 -- repeat as needed

@jenswi-linaro
Copy link
Contributor

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

"make linux" builds the kernel but is not sufficient to prepare all
files for "make run-only". On the other hand, "make run" does a bit
too many things to be used comfortably when working on the kernel.

Therefore, add target uImage which generates the kernel image ready
to be used by U-Boot. With that, kernel development and testing can
be done with the following sequence:

 1. make
 2. Edit kernel sources
 3. make -j$(nproc) uImage
 4. make run-only
 5. Go to 2 -- repeat as needed

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants