From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Gidi Gal <gidi.gal.linux@gmail.com>, kernelnewbies@kernelnewbies.org
Subject: Re: How to switch between installed kernel and developed kernel
Date: Tue, 23 Mar 2021 09:53:06 +0100 [thread overview]
Message-ID: <92d65bd0-d772-4bde-d2bf-0f7d91b5714b@pengutronix.de> (raw)
In-Reply-To: <CAB+0Vonjsn=WXP0nVay3ELVKN=fiNKV=iEvvL6esW0wkz8FjGg@mail.gmail.com>
Hello Gidi,
On 22.03.21 13:11, Gidi Gal wrote:
> Hello,
>
> I am new to kernel development, currently working on
> https://kernelnewbies.org/FirstKernelPatch. I reached the step "Install
> your changes" in "Modifying a driver on native Linux". I would like to
> separate my developed kernel and my installed kernel and to switch between
> the two in order to test my changes. I am not sure that my tutorial
> explains how to do that. If you have a link that proposes a workflow for
> this request (or if my tutorial does explain this workflow and I'm missing
> the exact paragraph that does that) please let me know.
I've found running a kernel under qemu with my normal rootfs to be quite
useful to quickly try out things. See the qemu-test script in the RAUC project
for an example: https://github.com/rauc/rauc/blob/master/qemu-test
Don't forget to backup of course. Maybe you could even read-only mount
the rootfs for added safety.
Good luck,
Ahmad
>
> Thanks,
> Gidi
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2021-03-23 8:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 12:11 How to switch between installed kernel and developed kernel Gidi Gal
2021-03-22 12:30 ` Bernd Petrovitsch
2021-03-22 12:57 ` Valdis Klētnieks
2021-03-22 12:59 ` Bjørn Mork
2021-03-22 17:53 ` Gidi Gal
2021-03-22 21:18 ` Aruna Hewapathirane
2021-03-22 21:19 ` Aruna Hewapathirane
2021-03-22 22:01 ` Gidi Gal
2021-03-23 1:17 ` Valdis Klētnieks
2021-03-23 4:29 ` Aruna Hewapathirane
2021-03-23 15:06 ` Valdis Klētnieks
2021-03-23 15:16 ` Aruna Hewapathirane
2021-03-23 15:11 ` Gidi Gal
[not found] ` <CAB+0Vomu+EaW8N6VNMFcZBB29MxnYYvD=1bF98Tf+1YgwaRi2Q@mail.gmail.com>
2021-03-23 15:05 ` Valdis Klētnieks
2021-03-23 15:23 ` Aruna Hewapathirane
2021-03-23 8:53 ` Ahmad Fatoum [this message]
2021-03-25 15:42 ` jim.cromie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=92d65bd0-d772-4bde-d2bf-0f7d91b5714b@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=gidi.gal.linux@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).