i.MX31 3DS board not booting after commit 1c2f87c22... ARM: 8025/1: Get rid of meminfo
From: Magnus Lilja <hidden>
Date: 2016-12-11 10:34:29
Hi,
I'm trying to get current modern Linux kernels to boot on the i.MX31 PDK
board (a.k.a MX31_3DS).
One problem I've noticed is that I have to comment out the following
code from mach-mx31_3ds.c, the reserve function is registered as
mach_desc->reserve . If I leave this function as is the kernel stops
very early in the boot (see end of the mail).
static void __init mx31_3ds_reserve(void)
{
/* reserve MX31_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */
mx3_camera_base = arm_memblock_steal(MX31_3DS_CAMERA_BUF_SIZE,
MX31_3DS_CAMERA_BUF_SIZE);
}
The commits that causes this problem (according to git bisect) is:
[1c2f87c22566cd057bc8cde10c37ae9da1a1bb76] ARM: 8025/1: Get rid of meminfo
(Yes, it's been a while since I last tried to boot a modern kernel on
this board)
I'm using the imx_v6_v7_defconfig.
Kernel boot log using earlyprintk. (the arm_memblock_init NNN lines are
my added printk's)
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0-rc7-dirty (lilja at xubuntu-14-04) (gcc
version 4. 8.3 20140320 (prerelease) (Sourcery CodeBench Lite
2014.05-29) ) #150 SMP Sun Dec 11 11:12:32 CET 2016
[ 0.000000] CPU: ARMv6-compatible processor [4107b364] revision 4
(ARMv6TEJ), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: Freescale MX31PDK (3DS)
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] arm_memblock_init 268