[PATCH] ARM: Rockchip: Update defconfig

Панов Андрей rockford at yandex.ru
Fri Mar 6 10:37:26 PST 2015



06.03.2015, 09:40, "Sascha Hauer" <s.hauer at pengutronix.de>:
> On Thu, Mar 05, 2015 at 09:45:19PM +0300, Andrey Panov wrote:
>>  Signed-off-by: Andrey Panov <rockford at yandex.ru>
>>  ---
>>   arch/arm/configs/rockchip_defconfig | 91 ++++++++++++++++++++++++++-----------
>>   1 file changed, 65 insertions(+), 26 deletions(-)
>>
>>  diff --git a/arch/arm/configs/rockchip_defconfig b/arch/arm/configs/rockchip_defconfig
>>  index 40442ac..f95c6c7 100644
>>  --- a/arch/arm/configs/rockchip_defconfig
>>  +++ b/arch/arm/configs/rockchip_defconfig
>>  @@ -1,51 +1,77 @@
>>   CONFIG_ARCH_ROCKCHIP=y
>>   CONFIG_MACH_RADXA_ROCK=y
>>  -CONFIG_THUMB2_BAREBOX=y
>
> Why disable thumb2? Thumb2 makes the binary smaller.
>>  -CONFIG_CMD_ARM_MMUINFO=y
>>  +CONFIG_AEABI=y
>>  +CONFIG_ARM_BOARD_APPEND_ATAG=y
>>   CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
>>   CONFIG_ARM_UNWIND=y
>>  -CONFIG_MMU=y
>
> Why do you disable MMU support? Doesn't this work properly? If it
> doesn't this should be fixed since you definitely want to have MMU
> support.
>
> Since relocatable barebox is enabled I recommend to set the base address
> to 0x0. Also the malloc area size can be specified to 0x0 which means
> barebox will automatically find a good value.

Oh. I've send an defconfig update.
And I found that i had overthought PIO code in dwmmc, I've sent a patch too, please apply it. Sorry.
With this all works fine with MMU on and in thumb2 mode.

--
 Андрей



More information about the barebox mailing list