ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC
Subsystems (3)
PATCH 1/4 ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC
This approximately triples write performance for the SD card. My card is too full of important data to collect very reliable numbers, but I see 271.361% +/- 166.742% improvement (n=3 before, 6 after), for 'dd if=/dev/zero of=/boot/asdf bs=1M count=3 oflag=dsync,direct'. Read performance appears to be unaffected.
--- arch/arm/configs/bcm2835_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/bcm2835_defconfig +1 -1
@@ -87,7 +87,7 @@ CONFIG_USB_DWC2=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_BCM2835=y +CONFIG_MMC_SDHCI_IPROC=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y
Signature · 1 line
2.7.0
PATCH 2/4 ARM: bcm2835: Enable CONFIG_PM.
The power domain driver we've enabled doesn't actually do anything without it, and we need it to do its job for VC4 to initialize successfully.
--- arch/arm/configs/bcm2835_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/bcm2835_defconfig +1 -0
@@ -38,6 +38,7 @@ CONFIG_CRASH_DUMP=y CONFIG_VFP=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_SUSPEND is not set +CONFIG_PM=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y
Signature · 1 line
2.7.0
PATCH 3/4 ARM: bcm2835: Enable the VC4 graphics driver in the defconfig
In reply to Eric AnholtCombined with the queued DT changes, we now get HDMI and 3D support.
--- arch/arm/configs/bcm2835_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/configs/bcm2835_defconfig +2 -3
@@ -64,7 +64,6 @@ CONFIG_INPUT_EVDEV=y CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_TTY_PRINTK=y -CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_BCM2835=y CONFIG_SPI=y
@@ -74,10 +73,10 @@ CONFIG_GPIO_SYSFS=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y CONFIG_BCM2835_WDT=y -CONFIG_FB=y +CONFIG_DRM=y +CONFIG_DRM_VC4=y CONFIG_FB_SIMPLE=y CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SOC=y
Signature · 1 line
2.7.0
PATCH 4/4 ARM: bcm2835: Enable NFS root support.
In reply to Eric AnholtThis is also present in multi_v7_defconfig, and means that I can test the pi1 with the 2835 defconfig in my normal environment.
--- arch/arm/configs/bcm2835_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/bcm2835_defconfig +3 -0
@@ -43,6 +43,8 @@ CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y CONFIG_NETWORK_SECMARK=y CONFIG_NETFILTER=y CONFIG_CFG80211=y
@@ -122,6 +124,7 @@ CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y # CONFIG_MISC_FILESYSTEMS is not set CONFIG_NFS_FS=y +CONFIG_ROOT_NFS=y CONFIG_NFSD=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y
Signature · 1 line
2.7.0
Re: [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig
In reply to Eric Anholtarch/arm/configs/bcm2835_defconfig
Quoted 5 lines · Eric Anholt
Combined with the queued DT changes, we now get HDMI and 3D support.
arch/arm/configs/bcm2835_defconfig +0
-0CONFIG_FB_SIMPLE=y
Do we need to disable that too, or does hand-off from simplefb to the accelerated driver work fine?
Re: [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM.
In reply to Eric AnholtQuoted 3 lines · Eric Anholt
The power domain driver we've enabled doesn't actually do anything without it, and we need it to do its job for VC4 to initialize successfully.
Patches 1, 2, and 3,
Quoted 5 lines · Eric Anholt
This approximately triples write performance for the SD card. My card is too full of important data to collect very reliable numbers, but I see 271.361% +/- 166.742% improvement (n=3 before, 6 after), for 'dd if=/dev/zero of=/boot/asdf bs=1M count=3 oflag=dsync,direct'. Read performance appears to be unaffected.