dhruvvyas90 / qemu-rpi-kernel

Qemu kernel for emulating Rpi on QEMU
2.05k stars 362 forks source link

Latest Raspbian version uses kernel 4.14 #55

Closed me21 closed 6 years ago

me21 commented 6 years ago

Can you please prepare the kernel for the latest Raspbian image?

nicolai86 commented 6 years ago

Is there any documentation on how to build/ patch a kernel? Looks like the author is busy and it might be an opportunity to help.

update I build a kernel for 4.14 with the following steps, still need to verify if it is working tho:

  1. start a scaleway START-S instance with ubuntu xenial
  2. install dependencies:
    apt-get update -y
    apt-get install -y gcc-arm* git libncurses-dev build-essential 
    git clone https://github.com/dhruvvyas90/qemu-rpi-kernel.git
  3. modify the build-kernel-qemu file to use commit a26899e0baa4de07caf97f5e4d7298240e98fd0e
  4. modify linux-arm.patch to remove conflict for new kernel
  5. build the kernel.

now off to verify if the kernel works on my macos properly...

Richardgriff commented 6 years ago

Hi Have you manged to get the 4.14 to work

dhruvvyas90 commented 6 years ago

@nicolai86: Feel free to create a PR, if you've a working 4.14 kernel ready. If not, I will give a shot this weekend. Thanks.

realies commented 6 years ago

It would be great to have latest qemu-rpi-kernel with every new raspbian release. The project is linked here https://github.com/guysoft/CustomPiOS/blob/CustomPiOS/src/qemu_boot.sh#L36

jlaine commented 6 years ago

I was able to boot the latest Raspbian images using #60

dhruvvyas90 commented 6 years ago

@jlaine: Merged your PR. Appreciate your help.

jlaine commented 6 years ago

Cool! Going forward it might be worth clarifying which files apply to which kernel.