LINUX.ORG.RU

История изменений

Исправление cvs-255, (текущая версия) :

взял ядро 3.16. Там есть возможность вместо dtb использовать board файл.

Получается так:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.16.80 (vlad@vlad) (gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6+b1) ) #7 Thu Dec 26 01:00:21 MSK 2019
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Ignoring memory below PHYS_OFFSET: 0x00000000-0x04000000
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
[    0.000000]
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.80 #7
[    0.000000] [<c000d9a4>] (unwind_backtrace) from [<c000bb9c>] (show_stack+0x10/0x14)
[    0.000000] [<c000bb9c>] (show_stack) from [<c03aac54>] (panic+0x78/0x1f4)
[    0.000000] [<c03aac54>] (panic) from [<c050d934>] (memblock_alloc_base+0x2c/0x38)
[    0.000000] [<c050d934>] (memblock_alloc_base) from [<c0504c28>] (early_alloc_aligned+0xc/0x2c)
[    0.000000] [<c0504c28>] (early_alloc_aligned) from [<c0505844>] (paging_init+0x450/0x870)
[    0.000000] [<c0505844>] (paging_init) from [<c0503454>] (setup_arch+0x344/0x68c)
[    0.000000] [<c0503454>] (setup_arch) from [<c0501880>] (start_kernel+0x70/0x314)
[    0.000000] [<c0501880>] (start_kernel) from [<70008040>] (0x70008040)
[    0.000000] ---[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.

если на 0x72000000 загружать, то то же самое

Исправление cvs-255, :

взял ядро 3.16. Там есть возможность вместо dtb использовать board файл.

Получается так:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.16.80 (vlad@vlad) (gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6+b1) ) #7 Thu Dec 26 01:00:21 MSK 2019
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Ignoring memory below PHYS_OFFSET: 0x00000000-0x04000000
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
[    0.000000]
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.80 #7
[    0.000000] [<c000d9a4>] (unwind_backtrace) from [<c000bb9c>] (show_stack+0x10/0x14)
[    0.000000] [<c000bb9c>] (show_stack) from [<c03aac54>] (panic+0x78/0x1f4)
[    0.000000] [<c03aac54>] (panic) from [<c050d934>] (memblock_alloc_base+0x2c/0x38)
[    0.000000] [<c050d934>] (memblock_alloc_base) from [<c0504c28>] (early_alloc_aligned+0xc/0x2c)
[    0.000000] [<c0504c28>] (early_alloc_aligned) from [<c0505844>] (paging_init+0x450/0x870)
[    0.000000] [<c0505844>] (paging_init) from [<c0503454>] (setup_arch+0x344/0x68c)
[    0.000000] [<c0503454>] (setup_arch) from [<c0501880>] (start_kernel+0x70/0x314)
[    0.000000] [<c0501880>] (start_kernel) from [<70008040>] (0x70008040)
[    0.000000] ---[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.

Исходная версия cvs-255, :

взял ядро 3.16. Там есть возможность вместо dtb использовать board файл.

Получается так:

[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.16.80 (vlad@vlad) (gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6+b1) ) #7 Thu Dec 26 01:00:21 MSK 2019 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Ignoring memory below PHYS_OFFSET: 0x00000000-0x04000000 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0. [ 0.000000] [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.80 #7 [ 0.000000] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 0.000000] [] (show_stack) from [] (panic+0x78/0x1f4) [ 0.000000] [] (panic) from [] (memblock_alloc_base+0x2c/0x38) [ 0.000000] [] (memblock_alloc_base) from [] (early_alloc_aligned+0xc/0x2c) [ 0.000000] [] (early_alloc_aligned) from [] (paging_init+0x450/0x870) [ 0.000000] [] (paging_init) from [] (setup_arch+0x344/0x68c) [ 0.000000] [] (setup_arch) from [] (start_kernel+0x70/0x314) [ 0.000000] [] (start_kernel) from [<70008040>] (0x70008040) [ 0.000000] —[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.