Skip to contentSkip to conversation

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

PATCH New Maxime Hadjinlian 2 participants 3 messages Jan 11, 2013 – Jan 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpi-firmware: Add default kernel name to config.txt

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.

---
 package/rpi-firmware/config.txt |    1 +
 1 file changed, 1 insertion(+)
package/rpi-firmware/config.txt +1 -0
index 2cabd68..da212c4 100644
@@ -6,6 +6,7 @@
 
 arm_freq=700
 core_freq=250
+kernel='zImage'
 disable_overscan=1
 gpu_mem_256=100
 gpu_mem_512=100
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 rpi-firmware: Add default kernel name to config.txt

Quoted 9 lines · Maxime Hadjinlian
package/rpi-firmware/config.txt +0 -0
index 2cabd68..da212c4 100644
@@ -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

Quoted 3 lines

disable_overscan=1
gpu_mem_256=100
gpu_mem_512=100

#2 lore raw

PATCH 1/1 rpi-firmware: Add default kernel name to config.txt

Quoted 8 lines · Cam Hutchison
Quoted 6 lines · Maxime Hadjinlian
package/rpi-firmware/config.txt +0 -0
index 2cabd68..da212c4 100644
@@ -6,6 +6,7 @@
 
Quoted 8 lines
Quoted 3 lines

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.

Quoted 9 lines
Quoted 4 lines

disable_overscan=1
gpu_mem_256=100
gpu_mem_512=100

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot