-Index: target/linux/brcm2708/Makefile
-===================================================================
---- target/linux/brcm2708/Makefile	(revision 36720)
-+++ target/linux/brcm2708/Makefile	(working copy)
-@@ -23,6 +23,6 @@
- 	Currently produces SD Card image for Raspberry Pi.
- endef
- 
--CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm
-+CFLAGS:=-pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -marm
- 
- $(eval $(call BuildTarget))
+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)

 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
Index: target/linux/brcm2708/Makefile
===================================================================
--- target/linux/brcm2708/Makefile	(revision 36720)
+++ target/linux/brcm2708/Makefile	(working copy)
@@ -23,6 +23,6 @@
 	Currently produces SD Card image for Raspberry Pi.
 endef
 
-CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm
+CFLAGS:=-pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -marm
 
 $(eval $(call BuildTarget))
