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,771件の閲覧回数
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,118件の閲覧回数
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,118件の閲覧回数
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 件の賞賛
返信