  endef
  
  $(eval $(call BuildImage))
-Index: target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
-===================================================================
---- target/linux/brcm2708/image/gen_rpi_sdcard_img.sh	(revision 36720)
-+++ target/linux/brcm2708/image/gen_rpi_sdcard_img.sh	(working copy)
-@@ -12,7 +12,7 @@
- BOOTFSSIZE="$4"
- ROOTFSSIZE="$5"
- 
--head=4
-+head=255
- sect=63
- 
- set `ptgen -o $OUTPUT -h $head -s $sect -l 4096 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
-Index: target/linux/brcm2708/image/cmdline.txt
-===================================================================
---- target/linux/brcm2708/image/cmdline.txt	(revision 36720)
-+++ target/linux/brcm2708/image/cmdline.txt	(working copy)
-@@ -1 +1 @@
--dwc_otg.lpm_enable=0 rpitestmode=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
-+dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
 Index: target/linux/brcm2708/config-3.3
 ===================================================================
 --- target/linux/brcm2708/config-3.3	(revision 36720)

+#tts/0::askfirst:/bin/ash --login
+#ttyAMA0::askfirst:/bin/ash --login
 tty1::askfirst:/bin/ash --login
--- /dev/null	2013-05-16 17:59:18.391419002 -0400
+++ target/linux/brcm2708/image/config.txt	2013-05-26 08:44:37.559092647 -0400
@@ -0,0 +1,6 @@
+gpu_mem=32
+arm_freq=800
+arm_freq_min=700
+sdram_freq=400
+core_freq=250
+

Index: target/linux/brcm2708/image/config.txt
===================================================================
--- target/linux/brcm2708/image/config.txt	(revision 0)
+++ target/linux/brcm2708/image/config.txt	(working copy)
@@ -0,0 +1,6 @@
+gpu_mem=32
+arm_freq=800
+arm_freq_min=700
+sdram_freq=400
+core_freq=250
+
Index: target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
===================================================================
--- target/linux/brcm2708/image/gen_rpi_sdcard_img.sh	(revision 36720)
+++ target/linux/brcm2708/image/gen_rpi_sdcard_img.sh	(working copy)
@@ -12,7 +12,7 @@
 BOOTFSSIZE="$4"
 ROOTFSSIZE="$5"
 
-head=4
+head=255
 sect=63
 
 set `ptgen -o $OUTPUT -h $head -s $sect -l 4096 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
Index: target/linux/brcm2708/image/cmdline.txt
===================================================================
--- target/linux/brcm2708/image/cmdline.txt	(revision 36720)
+++ target/linux/brcm2708/image/cmdline.txt	(working copy)
@@ -1 +1 @@
-dwc_otg.lpm_enable=0 rpitestmode=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
+dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
Index: target/linux/brcm2708/image/Makefile
===================================================================
--- target/linux/brcm2708/image/Makefile	(revision 36720)
