Patchwork rpi-firmware: Add default kernel name to config.txt

login
register
mail settings
Submitter Maxime Hadjinlian
Date Jan. 11, 2013, 5:55 p.m.
Message ID <1357926905-26350-1-git-send-email-maxime.hadjinlian@gmail.com>
Download mbox | patch
Permalink /patch/211391/
State Superseded
Headers show

Comments

Maxime Hadjinlian - Jan. 11, 2013, 5:55 p.m.
The default name of the kernel binary for the RaspberryPi is kernel.img, it's a
only a zImage kernel renamed.
Since buildroot will build a zImage, the default config uses that should use it
instead of forcing the user to rename a file.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/rpi-firmware/config.txt |    1 +
 1 file changed, 1 insertion(+)
Cam Hutchison - Jan. 13, 2013, 9:38 a.m.
Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:

>diff --git a/package/rpi-firmware/config.txt b/package/rpi-firmware/config.txt
>index 2cabd68..da212c4 100644
>--- a/package/rpi-firmware/config.txt
>+++ b/package/rpi-firmware/config.txt
>@@ -6,6 +6,7 @@
> 
> arm_freq=700
> core_freq=250
>+kernel='zImage'

In my experiments, no quotes (single or double) should be around zImage.
With either, it fails to boot. Just:

kernel=zImage

> disable_overscan=1
> gpu_mem_256=100
> gpu_mem_512=100
Maxime Hadjinlian - Jan. 13, 2013, 10:51 a.m.
On Sun, Jan 13, 2013 at 10:38 AM, Cam Hutchison <camh@xdna.net> wrote:
> Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
>
>>diff --git a/package/rpi-firmware/config.txt b/package/rpi-firmware/config.txt
>>index 2cabd68..da212c4 100644
>>--- a/package/rpi-firmware/config.txt
>>+++ b/package/rpi-firmware/config.txt
>>@@ -6,6 +6,7 @@
>>
>> arm_freq=700
>> core_freq=250
>>+kernel='zImage'
>
> In my experiments, no quotes (single or double) should be around zImage.
> With either, it fails to boot. Just:
>
> kernel=zImage
You're right, I got bitten by the two partition stuff, I changed the
file in the rootfs when I tested.
>
>> disable_overscan=1
>> gpu_mem_256=100
>> gpu_mem_512=100
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Patch

diff --git a/package/rpi-firmware/config.txt b/package/rpi-firmware/config.txt
index 2cabd68..da212c4 100644
--- a/package/rpi-firmware/config.txt
+++ b/package/rpi-firmware/config.txt
@@ -6,6 +6,7 @@ 
 
 arm_freq=700
 core_freq=250
+kernel='zImage'
 disable_overscan=1
 gpu_mem_256=100
 gpu_mem_512=100