I have successfully built the Nvidia kernel from https://developer.nvidia.com/embedded/linux-tegra following the instructions in l4t_getting_started.html and info on this forum.
I’ve copied the kernel Image to Jetson’s /boot directory and tried booting with it. However, when I boot, I get an error on the serial console:
ERROR: Board ID EEPROM bad cust_block_len
WARNING: not setting /chosen MAC address props
Starting kernel ...
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.96-tegra (narf@x201t) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11) ) #1 SMP PREEMPT Mon Aug 8 15:31:42 CEST 2016
[ 0.000000] CPU: Cortex A57 Processor [411fd071] revision 1
[ 0.000000] alternative: enabling workaround for ARM erratum 832075
[ 0.000000] Machine: jetson_tx1
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Reserved memory: initialized node iram-carveout, compatible id nvidia,iram-carveout
[ 0.000000] swapper[0]: undefined instruction: pc=ffffffc000000000
[ 0.000000] Code: bad PC value
[ 0.000000] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.96-tegra #1
[ 0.000000] task: ffffffc0010e9870 ti: ffffffc0010dc000 task.ti: ffffffc0010dc000
[ 0.000000] PC is at 0xffffffc000000000
[ 0.000000] LR is at 0xffffffc000000000
[ 0.000000] pc : [<ffffffc000000000>] lr : [<ffffffc000000000>] pstate: 600003c5
[ 0.000000] sp : ffffffc0010dff90
[ 0.000000] x29: 0000000000000000 x28: 0000004080000000
[ 0.000000] x27: ffffffc0000803f8 x26: 000000008007d000
[ 0.000000] x25: 000000008007b000 x24: 0000000080000000
[ 0.000000] x23: 00000000810eb090 x22: 00000000411fd071
[ 0.000000] x21: ffffffc00133d000 x20: ffffffc00129c608
[ 0.000000] x19: ffffffc002000058 x18: 00000000fcc28df8
[ 0.000000] x17: 0000000000010000 x16: 0000000000000074
[ 0.000000] x15: 0000000000000075 x14: 000000000000006f
[ 0.000000] x13: 0000000000000061 x12: 0000000000000063
[ 0.000000] x11: 000000000000002d x10: 000000000000006d
[ 0.000000] x9 : 0000000000000061 x8 : 0000000000000005
[ 0.000000] x7 : ffffffc0002e05f8 x6 : ffffffc0002e0620
[ 0.000000] x5 : ffffffc000ab5398 x4 : 0000000000000030
[ 0.000000] x3 : ffffffc000093a3c x2 : 0000000000000000
[ 0.000000] x1 : ffffffc0010dc000 x0 : 0000000000000001
[ 0.000000]
[ 0.000000] SP: 0xffffffc0010dff10:
[ 0.000000] ff10 0129c608 ffffffc0 0133d000 ffffffc0 411fd071 00000000 810eb090 00000000
[ 0.000000] ff30 80000000 00000000 8007b000 00000000 8007d000 00000000 000803f8 ffffffc0
[ 0.000000] ff50 80000000 00000040 00000000 00000000 00000000 ffffffc0 010dff90 ffffffc0
[ 0.000000] ff70 00000000 ffffffc0 600003c5 00000000 00000000 ffffffc0 411fd071 00000000
[ 0.000000] ff90 010b0000 ffffffc0 010dffe8 ffffffc0 82000000 00000000 0106231c ffffffc0
[ 0.000000] ffb0 0129c2c0 ffffffc0 00000e12 00000000 0105e624 ffffffc0 002e05f8 ffffffc0
[ 0.000000] ffd0 ff1994a0 00000000 80080210 00000000 00000000 00000000 010ad5c0 ffffffc0
[ 0.000000] fff0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000]
[ 0.000000] X1: 0xffffffc0010dbf80:
[ 0.000000] bf80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] bfa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] bfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] bfe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c000 00000000 00000000 ffffffff ffffffff 010e9870 ffffffc0 000badec ffffffc0
[ 0.000000] c020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c040 00000000 00000000 40000003 00000000 00000100 00000000 00000000 00000000
[ 0.000000] c060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000]
[ 0.000000] X3: 0xffffffc0000939bc:
[ 0.000000] 39bc b9476e80 b9476e61 6b00003f 540000c0 6b1f001f 1a9f17e2 52800001 52800200
[ 0.000000] 39dc 97fffcb6 b9477280 b9477261 6b00003f 540000c0 6b1f001f 1a9f17e2 52800001
[ 0.000000] 39fc 52800600 97fffcad f9400bfe a8c253f3 d65f03c0 d65f03c0 52800000 d65f03c0
[ 0.000000] 3a1c d10043ff 910043e2 381ffc40 aa0203e1 d2800060 d45e0000 910043ff d65f03c0
[ 0.000000] 3a3c 34000362 a9bd53f3 a9015bf5 a9027bf7 51000455 aa0103f4 2a1503f5 910006b5
[ 0.000000] 3a5c d2800013 b0009056 528001b7 38736a80 7100281f 54000081 f942e6c1 2a1703e0
[ 0.000000] 3a7c d63f0020 f942e6c1 38736a80 d63f0020 91000673 eb15027f 54fffea1 a9415bf5
[ 0.000000] 3a9c a9427bf7 a8c353f3 d65f03c0 d65f03c0 a9be53f3 a9017bf5 53001c15 b0009054
[ 0.000000]
[ 0.000000] X5: 0xffffffc000ab5318:
[ 0.000000] 5318 706f6f6e 6978655f 75715f74 00657565 401c0242 40200242 401c0243 40200243
[ 0.000000] 5338 801c0204 80200204 40580290 40800290 80580211 80800211 80340212 80500212
[ 0.000000] 5358 80340213 80500213 80200215 80280215 80180217 80280217 05050500 05010502
[ 0.000000] 5378 05050505 05050505 05050505 05050505 05050505 05050505 05050500 00010502
[ 0.000000] 5398 08080808 08080808 28282808 08082828 08080808 08080808 08080808 08080808
[ 0.000000] 53b8 101010a0 10101010 10101010 10101010 04040404 04040404 10100404 10101010
[ 0.000000] 53d8 41414110 01414141 01010101 01010101 01010101 01010101 10010101 10101010
[ 0.000000] 53f8 42424210 02424242 02020202 02020202 02020202 02020202 10020202 08101010
[ 0.000000]
[ 0.000000] X6: 0xffffffc0002e05a0:
[ 0.000000] 05a0 f100205f 54fffd8a b50001a2 d65f03c0 f100205f 5400014d d1002042 f9400029
[ 0.000000] 05c0 f9000069 91002021 91002063 f100205f 54ffff4a b5000042 d65f03c0 b40002e2
[ 0.000000] 05e0 92400c46 100000a7 d2800108 cb060108 8b080ce6 d61f00c0 38401429 38001469
[ 0.000000] 0600 3840142a 3800146a 3840142b 3800146b 3840142c 3800146c 3840142d 3800146d
[ 0.000000] 0620 3840142e 3800146e 3840142f 3800146f 38401430 38001470 d65f03c0 cb0103e6
[ 0.000000] 0640 f24008c6 54000100 cb060042 38401429 38001469 f10004c6 54ffffac f101005f
[ 0.000000] 0660 54fff76b f2400866 54000561 f102005f 540001ea d1010042 a9402829 a941302b
[ 0.000000] 0680 a942382d a943402f 91010021 f101005f a9002869 a901306b a902386d a903406f
[ 0.000000]
[ 0.000000] X7: 0xffffffc0002e0578:
[ 0.000000] 0578 39000069 3900046a 3900086b 39000c6c 3900106d 3900146e 3900186f 39001c70
[ 0.000000] 0598 91002021 91002063 f100205f 54fffd8a b50001a2 d65f03c0 f100205f 5400014d
[ 0.000000] 05b8 d1002042 f9400029 f9000069 91002021 91002063 f100205f 54ffff4a b5000042
[ 0.000000] 05d8 d65f03c0 b40002e2 92400c46 100000a7 d2800108 cb060108 8b080ce6 d61f00c0
[ 0.000000] 05f8 38401429 38001469 3840142a 3800146a 3840142b 3800146b 3840142c 3800146c
[ 0.000000] 0618 3840142d 3800146d 3840142e 3800146e 3840142f 3800146f 38401430 38001470
[ 0.000000] 0638 d65f03c0 cb0103e6 f24008c6 54000100 cb060042 38401429 38001469 f10004c6
[ 0.000000] 0658 54ffffac f101005f 54fff76b f2400866 54000561 f102005f 540001ea d1010042
[ 0.000000]
[ 0.000000] X19: 0xffffffc001ffffd8:
[ 0.000000] ffd8 ******** ******** ******** ******** ******** ******** ******** ********
[ 0.000000] fff8 ******** ******** edfe0dd0 00b00400 58000000 d0710400 28000000 11000000
[ 0.000000] 0018 10000000 00000000 db390000 78710400 00000000 00000080 00000000 00000200
[ 0.000000] 0038 00000000 00000082 00000000 00b00400 00000000 00000000 00000000 00000000
[ 0.000000] 0058 01000000 00000000 03000000 21000000 00000000 6469766e 6a2c6169 6f737465
[ 0.000000] 0078 76632d6e 69766e00 2c616964 72676574 30313261 00000000 03000000 04000000
[ 0.000000] 0098 0b000000 01000000 03000000 04000000 1c000000 02000000 03000000 04000000
[ 0.000000] 00b8 2b000000 02000000 03000000 15000000 37000000 20677541 32203820 00363130
[ 0.000000]
[ 0.000000] X20: 0xffffffc00129c588:
[ 0.000000] c588 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c5a8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c5c8 00093ba8 ffffffc0 fbc06000 ffffffbf 00000000 00000000 00000000 00000000
[ 0.000000] c5e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c608 00000000 00000000 80000000 00000000 00000711 00000000 00000713 00000000
[ 0.000000] c628 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c648 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] c668 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000]
[ 0.000000] X21: 0xffffffc00133cf80:
[ 0.000000] cf80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] cfa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] cfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] cfe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] d000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] d020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] d040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] d060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000]
[ 0.000000] X27: 0xffffffc000080378:
[ 0.000000] 0378 f8267b47 d65f03c0 010e9480 ffffffc0 0000000f 00000000 0129c558 ffffffc0
[ 0.000000] 0398 00080200 ffffffc0 00084000 ffffffc0 00000711 00000000 01371447 ffffffc0
[ 0.000000] 03b8 fbc00000 ffffffbf 000803f8 ffffffc0 0129c298 ffffffc0 01371448 ffffffc0
[ 0.000000] 03d8 0129c438 ffffffc0 010b0158 ffffffc0 0129c610 ffffffc0 010dfff0 ffffffc0
[ 0.000000] 03f8 10fffe83 a8c11c66 eb0700df 54000062 f80084df 17fffffd a8c11464 f8408466
[ 0.000000] 0418 f9400070 9100021f f9000096 f90000b5 f90000d8 d280001d 143f786c d503201f
[ 0.000000] 0438 17ffffff d503201f 100001c1 a9400c22 cb020021 8b010063 29401865 340000c5
[ 0.000000] 0458 0a0000c6 6b0600bf 54000080 91006063 17fffffa d2800003 aa0303e0 d65f03c0
[ 0.000000]
[ 0.000000] Process swapper (pid: 0, stack limit = 0xffffffc0010dc058)
[ 0.000000] Stack: (0xffffffc0010dff90 to 0xffffffc0010e0000)
[ 0.000000] ff80: 010b0000 ffffffc0 010dffe8 ffffffc0
[ 0.000000] ffa0: 82000000 00000000 0106231c ffffffc0 0129c2c0 ffffffc0 00000e12 00000000
[ 0.000000] ffc0: 0105e624 ffffffc0 002e05f8 ffffffc0 ff1994a0 00000000 80080210 00000000
[ 0.000000] ffe0: 00000000 00000000 010ad5c0 ffffffc0 00000000 00000000 00000000 00000000
[ 0.000000] Call trace:
[ 0.000000] Code: bad PC value
[ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] Rebooting in 30 seconds..Reboot failed -- System halted
I have no clue what to do. I might be either building wrongly or installing the kernel wrongly (I couldn’t find a good description of how to install the built kernel on TX1).