[U-Boot] [PATCH v2 0/3] Fix loading kernel on RK3288 Radxa Rock2 Square

Sandy Patterson apatterson at sightlogix.com
Fri Jul 22 16:40:10 CEST 2016


I wasn't able to load the linux kernel using a Rock2 board
using the latest master branch. The board hangs after it has
handed executing over to the kernel. I found that the latest release
that worked was v2016.03.

This patchset fixes kernel loading on rk3288 rock2 square board.
I tested with with 3.14 adn 4.7-rc6 kernels.
I used gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabi.

Before fixing, the console output was:

Starting kernel ...

### ERROR ### Please RESET the board ###

Changes for v2:
 - Remove patch to change to high mem limit.
 - Rebase to u-boot/master.


Sandy Patterson (3):
  Revert "arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL)
    with asm code"
  Revert "arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_INVAL_ALL) with
    asm code"
  CONFIG_EFI_LOADER breaks rock2 kernel loading

 arch/arm/cpu/armv7/Makefile                  |   2 +-
 arch/arm/cpu/armv7/cache_v7.c                | 134 ++++++++++++++++++++++-
 arch/arm/cpu/armv7/cache_v7_asm.S            | 154 ---------------------------
 arch/arm/mach-uniphier/arm32/lowlevel_init.S |  67 +++++++++++-
 configs/rock2_defconfig                      |   1 +
 5 files changed, 198 insertions(+), 160 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/cache_v7_asm.S

-- 
1.9.1



More information about the U-Boot mailing list