Build kernel from https://github.com/Freescale/linux-mainline patches-3.12

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Build kernel from https://github.com/Freescale/linux-mainline patches-3.12

1,759 次查看
sp1
Contributor II

Hi.

I built the kernel from https://github.com/Freescale/linux-mainline patches-3.12. First a couple of questions about building:

1. Which _defconfig shall I use (as basis) for a i.MX6 quad board (it is actually Boundary Devices nitrogen, but we are developing our own card using i.MX 6 SOlo so I need to start "from scratch") I tried imx_v6_v7 which compiles, but ...

2. Why does 'make uImage' complain abount LOADADDR. It is easy to fix, but why shouldn't a published _defconfig actually compile to something that works?

3. Also which _defconfig for a i.MX6 Solo?

When booting the kernel I get unaligned access immediately. That is; some information about the kernel is shown by uboot, but the kernel does not start. I get a message to read the arm-unaligned-access.txt file. Again. Why doesn't a _defconfig for imx-something work.


Could someone point me to some answers here?


Sp1

标签 (3)
0 项奖励
回复
2 回复数

1,106 次查看
fabio_estevam
NXP Employee
NXP Employee

1. You should use 'make imx_v6_v7_defconfig' for all mx6

2. You need to use make uImage LOADADDR=0x10008000 for mx6q

3. imx_v6_v7_defconfig

4. Make sure you also provide the dtb file when booting a 3.12 kernel.

Regards,

Fabio Estevam

1,106 次查看
sp1
Contributor II

Hi Fabio.

Thanks. Fast answer :-)

I boot from MMC, but I'm not sure the dtb file are on it. I'll experiment some more.

Sp1

0 项奖励
回复