* [PATCH 1/2] ARM Kindle3 defconfig: enable MMU @ 2019-03-17 11:22 Alexander Kurz 2019-03-17 11:22 ` [PATCH 2/2] ARM Kindle3: switch on pull-ups for fiveway device Alexander Kurz 2019-03-18 8:52 ` [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Sascha Hauer 0 siblings, 2 replies; 3+ messages in thread From: Alexander Kurz @ 2019-03-17 11:22 UTC (permalink / raw) To: barebox, Sascha Hauer; +Cc: Alexander Kurz From: Alexander Kurz <akurz@blala.de> With the MMU enabled, a memtest runs 14 times faster. Signed-off-by: Alexander Kurz <akurz@blala.de> --- arch/arm/configs/kindle3_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/kindle3_defconfig b/arch/arm/configs/kindle3_defconfig index a4e08dfad..98691c3a8 100644 --- a/arch/arm/configs/kindle3_defconfig +++ b/arch/arm/configs/kindle3_defconfig @@ -2,7 +2,6 @@ CONFIG_ARCH_IMX=y CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x30000 CONFIG_MACH_KINDLE3=y CONFIG_IMX_IIM=y -CONFIG_ARCH_IMX_USBLOADER=y CONFIG_AEABI=y CONFIG_ARM_BOARD_APPEND_ATAG=y CONFIG_ARM_BOARD_PREPEND_ATAG=y @@ -10,6 +9,7 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y CONFIG_PBL_IMAGE=y CONFIG_PBL_RELOCATABLE=y CONFIG_IMAGE_COMPRESSION_XZKERN=y +CONFIG_MMU=y CONFIG_MALLOC_SIZE=0x2000000 CONFIG_MALLOC_TLSF=y CONFIG_RELOCATABLE=y @@ -64,3 +64,4 @@ CONFIG_FS_EXT4=y CONFIG_FS_FAT=y CONFIG_FS_FAT_WRITE=y CONFIG_FS_FAT_LFN=y +CONFIG_ARCH_IMX_USBLOADER=y -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM Kindle3: switch on pull-ups for fiveway device 2019-03-17 11:22 [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Alexander Kurz @ 2019-03-17 11:22 ` Alexander Kurz 2019-03-18 8:52 ` [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Sascha Hauer 1 sibling, 0 replies; 3+ messages in thread From: Alexander Kurz @ 2019-03-17 11:22 UTC (permalink / raw) To: barebox, Sascha Hauer; +Cc: Alexander Kurz From: Alexander Kurz <akurz@blala.de> Without the pullups enabled, the GPIO change after a button release took some hundered milliseconds. Signed-off-by: Alexander Kurz <akurz@blala.de> --- arch/arm/boards/kindle3/kindle3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boards/kindle3/kindle3.c b/arch/arm/boards/kindle3/kindle3.c index e06b3d70c..95ae49cb0 100644 --- a/arch/arm/boards/kindle3/kindle3.c +++ b/arch/arm/boards/kindle3/kindle3.c @@ -152,6 +152,7 @@ static int kindle3_devices_init(void) } device_initcall(kindle3_devices_init); +#define FIVEWAY_PAD_CTL (PAD_CTL_PUS_100K_UP | PAD_CTL_HYS | PAD_CTL_DVS) static iomux_v3_cfg_t kindle3_pads[] = { /* UART1 */ MX35_PAD_RXD1__UART1_RXD_MUX, @@ -183,12 +184,11 @@ static iomux_v3_cfg_t kindle3_pads[] = { MX35_PAD_CSPI1_SPI_RDY__CSPI1_RDY, /* fiveway device: up, down, left, right, select */ - MX35_PAD_ATA_DATA14__GPIO2_27, - MX35_PAD_ATA_DATA15__GPIO2_28, - MX35_PAD_TX5_RX0__GPIO1_10, - MX35_PAD_ATA_BUFF_EN__GPIO2_30, - IOMUX_PAD(0x728, 0x2c4, 5, 0x8c8, 1, - PAD_CTL_PUS_100K_UP | PAD_CTL_HYS | PAD_CTL_DVS), + IOMUX_PAD(0x718, 0x2b4, 5, 0x8b4, 1, FIVEWAY_PAD_CTL), + IOMUX_PAD(0x71c, 0x2b8, 5, 0x8b8, 1, FIVEWAY_PAD_CTL), + IOMUX_PAD(0x59c, 0x158, 5, 0x830, 0, FIVEWAY_PAD_CTL), + IOMUX_PAD(0x724, 0x2c0, 5, 0x8c4, 1, FIVEWAY_PAD_CTL), + IOMUX_PAD(0x728, 0x2c4, 5, 0x8c8, 1, FIVEWAY_PAD_CTL), /* Volume keys: up, down */ MX35_PAD_SCKR__GPIO1_4, -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ARM Kindle3 defconfig: enable MMU 2019-03-17 11:22 [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Alexander Kurz 2019-03-17 11:22 ` [PATCH 2/2] ARM Kindle3: switch on pull-ups for fiveway device Alexander Kurz @ 2019-03-18 8:52 ` Sascha Hauer 1 sibling, 0 replies; 3+ messages in thread From: Sascha Hauer @ 2019-03-18 8:52 UTC (permalink / raw) To: Alexander Kurz; +Cc: barebox On Sun, Mar 17, 2019 at 11:22:33AM +0000, Alexander Kurz wrote: > From: Alexander Kurz <akurz@blala.de> > > With the MMU enabled, a memtest runs 14 times faster. > > Signed-off-by: Alexander Kurz <akurz@blala.de> > --- > arch/arm/configs/kindle3_defconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-18 8:52 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-03-17 11:22 [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Alexander Kurz 2019-03-17 11:22 ` [PATCH 2/2] ARM Kindle3: switch on pull-ups for fiveway device Alexander Kurz 2019-03-18 8:52 ` [PATCH 1/2] ARM Kindle3 defconfig: enable MMU Sascha Hauer
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.