debootstrap boot with grub/grub.efi
debootstrap boot with grub/grub.efi
Hi,
I'm curious about howto bootstrap an o2 joggler.
I want to install wheezy, so I make a bootstrap image and I can compile the kernel with de kernel options and patches provided bij de ubuntu page form buzz
So that I have the bootstrap image and the kernel installed in this image
Now the part of the grub en grub.efi, how can I let it boot???
Can I just copy de vfat patrition of buzz (ubuntu) to my first paritition, or must the grud.efi be something special?? Compiled with the grub version of wheezy???
regards Richard
I'm curious about howto bootstrap an o2 joggler.
I want to install wheezy, so I make a bootstrap image and I can compile the kernel with de kernel options and patches provided bij de ubuntu page form buzz
So that I have the bootstrap image and the kernel installed in this image
Now the part of the grub en grub.efi, how can I let it boot???
Can I just copy de vfat patrition of buzz (ubuntu) to my first paritition, or must the grud.efi be something special?? Compiled with the grub version of wheezy???
regards Richard
-
- Posts: 134
- Joined: Sun Apr 15, 2012 4:52 pm
Re: debootstrap boot with grub/grub.efi
The process you dessribed sounds about right. You can use grub.efi from someone elses build - just replace the initrd and kernel image with your own and change the mount points in grub.cfg.
You may want to check out:
http://joggler.exotica.org.uk/source/
Buzz has scripted his process (so you should just be able to adapt that)
You may want to check out:
http://joggler.exotica.org.uk/source/
Buzz has scripted his process (so you should just be able to adapt that)
Re: debootstrap boot with grub/grub.efi
Well first thing I wanted to download the kernel and patch it.
I downloaded the kernel into /usr/src and extract is there /usr/src/linux-3.2.20
i also mad symb link linux -> linux-3.2.20
I downloaded in /usr/src 3.2.20joggler1.patch
then in /usr/src I execute the patch but it fails, what goes wrong????
usr/src# patch -p0 -i 3.2.20joggler1.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c
|index 0682f8f..f1cb3ae 100644
|--- a/drivers/i2c/busses/i2c-isch.c
|+++ b/drivers/i2c/busses/i2c-isch.c
--------------------------
File to patch:
Richard
I downloaded the kernel into /usr/src and extract is there /usr/src/linux-3.2.20
i also mad symb link linux -> linux-3.2.20
I downloaded in /usr/src 3.2.20joggler1.patch
then in /usr/src I execute the patch but it fails, what goes wrong????
usr/src# patch -p0 -i 3.2.20joggler1.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c
|index 0682f8f..f1cb3ae 100644
|--- a/drivers/i2c/busses/i2c-isch.c
|+++ b/drivers/i2c/busses/i2c-isch.c
--------------------------
File to patch:
Richard
Re: debootstrap boot with grub/grub.efi
found
root@dedwheez:/usr/src/linux# patch -p1 < ../3.2.20joggler1.patch
patching file drivers/i2c/busses/i2c-isch.c
patching file drivers/video/backlight/Kconfig
patching file drivers/video/backlight/Makefile
patching file drivers/video/backlight/openframe_bl.c
patching file scripts/setlocalversion
patching file sound/pci/hda/patch_sigmatel.c
root@dedwheez:/usr/src/linux# patch -p1 < ../3.2.20joggler1.patch
patching file drivers/i2c/busses/i2c-isch.c
patching file drivers/video/backlight/Kconfig
patching file drivers/video/backlight/Makefile
patching file drivers/video/backlight/openframe_bl.c
patching file scripts/setlocalversion
patching file sound/pci/hda/patch_sigmatel.c
Re: debootstrap boot with grub/grub.efi
Well it worked pretty good, debian wheezy is running, with kernel 3.2.20 it worked, without X.
Now I want to have x installed, but there are no emgd drivers for xserver 1.12.
So I took an new kernel (3.5.4) with the the poulsbo driver compiled.
I tried the patch for 3.2.20 but many errors.
I still compiled and installed the 3.5.4 kernel to test the poulsbo driver. The X server nog works but the sound is crappy ofcourse because the patch failed.
The question is who can change the patches to wokr with kernels 3.5 and above?
regards Richard
Now I want to have x installed, but there are no emgd drivers for xserver 1.12.
So I took an new kernel (3.5.4) with the the poulsbo driver compiled.
I tried the patch for 3.2.20 but many errors.
I still compiled and installed the 3.5.4 kernel to test the poulsbo driver. The X server nog works but the sound is crappy ofcourse because the patch failed.
The question is who can change the patches to wokr with kernels 3.5 and above?
regards Richard
Re: debootstrap boot with grub/grub.efi
I probably can, but I won't be looking at newer kernels until the emgd driver supports them. as an alternative you could use to have emgd on debian, would be to build / get hold of a set of older xserver packages.
why not do a debootstrap of ubuntu base - close to debian in many respects - and you get the benefit of my existing packages for the joggler without having to rebuild them. my already provided base image is built from via debootstrap.
why not do a debootstrap of ubuntu base - close to debian in many respects - and you get the benefit of my existing packages for the joggler without having to rebuild them. my already provided base image is built from via debootstrap.
Re: debootstrap boot with grub/grub.efi
kroonen, could you share what you have made with the community here ?
I'd love to try out what you have made ! It sounds really interesting.
I'd love to try out what you have made ! It sounds really interesting.
Re: debootstrap boot with grub/grub.efi
I should probably mention that the kernels I use for sqpOS are here; they're based on BuZz's kernel config and patches, with just a few tweaks in the 3.2.30jog3 version to support the OpenFrame 2 and ath9k_htc (for WNDA3200 replacement wifi stick).
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 

Re: debootstrap boot with grub/grub.efi
Well status for now.
Debootstrap and booting works with debain wheezy. I used the grub files from buzz.
I found patches for kernel 3.3.7
https://aur.archlinux.org/packages.php?ID=57178
Thes work and I enabled the intel gma kernel driver.
Now after installx server it works out of the box and also the tocuhscreen.
Tried e17 with tablet interface and on screenkeyboard works.
I havn't tried multimedia etc. but the audio works.
I don't know if there more interest in putting your own debian on a joggler, else I will make a small howto, and open a new topic here
Richard
Debootstrap and booting works with debain wheezy. I used the grub files from buzz.
I found patches for kernel 3.3.7
https://aur.archlinux.org/packages.php?ID=57178
Thes work and I enabled the intel gma kernel driver.
Now after installx server it works out of the box and also the tocuhscreen.
Tried e17 with tablet interface and on screenkeyboard works.
I havn't tried multimedia etc. but the audio works.
I don't know if there more interest in putting your own debian on a joggler, else I will make a small howto, and open a new topic here
Richard
Re: debootstrap boot with grub/grub.efi
You'll probably not have hardware video acceleration working on that, though - I don't believe the kernel drivers for the GMA500 support this yet. Also, watch out for your kernel version; 3.3.x is end-of-life now, while 3.2.x is still under development.
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 

Re: debootstrap boot with grub/grub.efi
If you could do a howto, that would be great !kroonen wrote:Well status for now.
Debootstrap and booting works with debain wheezy. I used the grub files from buzz.
I found patches for kernel 3.3.7
https://aur.archlinux.org/packages.php?ID=57178
Thes work and I enabled the intel gma kernel driver.
Now after installx server it works out of the box and also the tocuhscreen.
Tried e17 with tablet interface and on screenkeyboard works.
I havn't tried multimedia etc. but the audio works.
I don't know if there more interest in putting your own debian on a joggler, else I will make a small howto, and open a new topic here
Richard
I was wondering if you could make some images of the work you have done too ( or whatever would be most appropriate ) so we could try out what you have done ? Even if it is on the rough side, that would be fine. As far as I am concerned there would be no expectation of answering questions/support from you, unless you wanted to.