Hi,
I’m struggling with a new problem.
I’m trying to recompile the code source of the linux of the nvidia jetson xavier agx, to have this source code I execute this script that we can find in the folder linux_tegra/source_sync.sh.
the script create a new folder 'sources/ ’ with all the source. To compile it, I followed this link :
and i just want to flash with the new DTB that i generate with this code source,
To do this i execute the following line :
sudo ./flash.sh -r -k kernel-dtb jetson-xavier mmcblk0p1
When i reset the nvidia, it stay with a black screen and i don’t understand what i did wrong ?
I also tried with this link and the result is the same :
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-322/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fkernel_custom.html%23
you can find the log below
ntering main console loop
] ��[0001.249] I> 12) Base:0xf0c00000 Size:0x00100000
[0001.303] I> 13) Base:0x40046000 Size:0x00002000
[0001.308] I> 14) Base:0x40048000 Size:0x00002000
[0001.312] I> 15) Base:0xac000000 Size:0x00004000
[0001.317] I> 16) Base:0x4004a000 Size:0x00002000
[0001.321] I> 17) Base:0xf0b00000 Size:0x00100000
[0001.326] I> 18) Base:0x4004c000 Size:0x00002000
[0001.330] I> 19) Base:0xf2200000 Size:0x00600000
[0001.335] I> 20) Base:0x4004e000 Size:0x00002000
[0001.339] I> 21) Base:0xf09d0000 Size:0x0000c000
[0001.344] I> 22) Base:0x00000000 Size:0x00000000
[0001.348] I> 23) Base:0xf09e0000 Size:0x00020000
[0001.353] I> 24) Base:0xf6000000 Size:0x02000000
[0001.357] I> 25) Base:0x40050000 Size:0x00002000
[0001.361] I> 26) Base:0x40040000 Size:0x00006000
[0001.366] I> 27) Base:0xf1800000 Size:0x00400000
[0001.370] I> 28) Base:0xf4c00000 Size:0x01400000
[0001.375] I> 29) Base:0xf1400000 Size:0x00400000
[0001.379] I> 30) Base:0xf0a00000 Size:0x00100000
[0001.384] I> 31) Base:0x00000000 Size:0x00000000
[0001.388] I> 32) Base:0xf8000000 Size:0x08000000
[0001.393] I> 33) Base:0x00000000 Size:0x00000000
[0001.397] I> 34) Base:0xf3c00000 Size:0x01000000
[0001.402] I> 35) Base:0xab000000 Size:0x01000000
[0001.406] I> 36) Base:0xa0000000 Size:0x0b000000
[0001.411] I> 37) Base:0xf2800000 Size:0x00800000
[0001.415] I> 38) Base:0x80000000 Size:0x20000000
[0001.420] I> 39) Base:0xb0000000 Size:0x08000000
[0001.424] I> 40) Base:0x00000000 Size:0x00000000
[0001.428] I> 41) Base:0x00000000 Size:0x00000000
[0001.433] I> 42) Base:0x00000000 Size:0x00000000
[0001.437] I> 43) Base:0x00000000 Size:0x00000000
[0001.442] I> 44) Base:0x00000000 Size:0x00000000
[0001.446] I> 45) Base:0x00000000 Size:0x00000000
[0001.451] GIC-SPI Target CPU: 0
[0001.454] Interrupts Init done
[0001.457] calling constructors
[0001.459] initializing heap
[0001.462] I> Heap: [0xa0691568 ... 0xab000000]
[0001.466] initializing threads
[0001.469] initializing timers
[0001.472] creating bootstrap completion thread
[0001.476] top of bootstrap2()
[0001.479] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
[0001.484] initializing platform
[0001.487] E> DEVICE_PROD: Invalid value data = 0, size = 0.
[0001.492] W> device prod register failed
[0001.496] I> Bl_dtb @0xaaf00000
[0001.501] W> "plugin-manager" doesn't exist, creating
[0001.504] W> "ids" doesn't exist, creating
[0001.508] W> "connection" doesn't exist, creating
[0001.512] W> "configs" doesn't exist, creating
[0001.522] I> Find /i2c@3160000's alias i2c0
[0001.522] I> Reading eeprom i2c=0 address=0x50
[0001.550] I> Device at /i2c@3160000:0x50
[0001.551] I> Reading eeprom i2c=0 address=0x56
[0001.551] E> I2C: slave not found in slaves.
[0001.551] E> I2C: Could not write 0 bytes to slave: 0x00ac with repeat start true.
[0001.552] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.553] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xac at 0x000.
[0001.560] E> eeprom: Failed to read I2C slave device
[0001.565] I> Eeprom read failed 0x3526070d
[0001.571] I> Find /i2c@3180000's alias i2c2
[0001.573] I> Reading eeprom i2c=2 address=0x54
[0001.579] E> I2C: slave not found in slaves.
[0001.581] E> I2C: Could not write 0 bytes to slave: 0x00a8 with repeat start true.
[0001.589] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.595] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa8 at 0x000.
[0001.604] E> eeprom: Failed to read I2C slave device
[0001.609] I> Eeprom read failed 0x3526070d
[0001.613] I> Reading eeprom i2c=2 address=0x57
[0001.618] E> I2C: slave not found in slaves.
[0001.622] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0001.629] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.635] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x000.
[0001.644] E> eeprom: Failed to read I2C slave device
[0001.649] I> Eeprom read failed 0x3526070d
[0001.653] I> Reading eeprom i2c=2 address=0x52
[0001.658] E> I2C: slave not found in slaves.
[0001.662] E> I2C: Could not write 0 bytes to slave: 0x00a4 with repeat start true.
[0001.670] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.675] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa4 at 0x000.
[0001.685] E> eeprom: Failed to read I2C slave device
[0001.689] I> Eeprom read failed 0x3526070d
[0001.694] I> Find /i2c@c240000's alias i2c1
[0001.697] I> Reading eeprom i2c=1 address=0x52
[0001.703] E> I2C: slave not found in slaves.
[0001.706] E> I2C: Could not write 0 bytes to slave: 0x00a4 with repeat start true.
[0001.714] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.719] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa4 at 0x000.
[0001.729] E> eeprom: Retry to read I2C slave device.
[0001.734] E> I2C: slave not found in slaves.
[0001.738] E> I2C: Could not write 0 bytes to slave: 0x00a4 with repeat start true.
[0001.745] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.751] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa4 at 0x000.
[0001.760] E> eeprom: Failed to read I2C slave device
[0001.765] I> Eeprom read failed 0x3526070d
[0001.769] I> Reading eeprom i2c=1 address=0x50
[0001.774] E> I2C: slave not found in slaves.
[0001.778] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.786] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.791] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x000.
[0001.801] E> eeprom: Retry to read I2C slave device.
[0001.806] E> I2C: slave not found in slaves.
[0001.809] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.817] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.823] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x000.
[0001.832] E> eeprom: Failed to read I2C slave device
[0001.837] I> Eeprom read failed 0x3526070d
[0001.841] I> create_pm_ids: id: 2888-0001-400-L, len: 15
[0001.846] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch3
[0001.857] I> Adding plugin-manager/ids/2888-0001-400=/i2c@3160000:module@0x50
[0001.865] W> "i2c@3160000" doesn't exist, creating
[0001.869] W> "module@0x50" doesn't exist, creating
[0001.875] I> Adding plugin-manager/cvm
[0001.877] W> "chip-id" doesn't exist, creating
[0001.882] I> Adding plugin-manager/chip-id/A02
[0001.886] I> Plugin-manager override starting
[0001.891] I> Disable plugin-manager status in FDT
[0001.895] I> Plugin-manager override finished successfully
[0001.900] I> gpio framework initialized
[0001.905] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0001.912] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0001.919] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0001.925] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca99
[0001.933] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9
[0001.940] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.946] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0001.953] E> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca99
[0001.961] E> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9
[0001.968] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.975] I> fixed regulator driver initialized
[0001.983] I> register 'maxim' power off handle
[0001.984] I> virtual i2c enabled
[0001.986] I> registered 'maxim,max20024' pmic
[0001.990] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver
[0001.997] I> Boot-device: eMMC
[0002.000] I> Boot_device: SDMMC_BOOT instance: 3
[0002.008] I> sdmmc-3 params source = boot args
[0002.009] I> create_pm_ids: id: 2888-0001-400-L, len: 15
[0002.014] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch3
[0002.025] I> sdmmc bdev is already initialized
[0002.029] I> sdmmc-3 params source = boot args
[0002.060] I> Found 17 partitions in SDMMC_BOOT (instance 3)
[0002.072] I> Found 42 partitions in SDMMC_USER (instance 3)
[0002.079] E> no regulator info present for avdd_hdmi-supply
[0002.079] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0002.082] E> no regulator info present for avdd_hdmi-supply
[0002.083] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0002.084] E> cannot find any other nvdisp nodes
[0002.084] E> no valid display unit config found in dtb
[0002.087] W> display init failed
[0002.089] I> Load in CBoot Boot Options partition and parse it
[0002.101] E> Error -9 when finding node with path /boot-configuration
[0002.101] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0002.108] I> Hit any key to stop autoboot: 4 3 2 1
[0004.116] initializing target
[0004.116] calling apps_init()
[0004.117] starting app kernel_boot_app
[0004.136] I> found decompressor handler: lz4-legacy
[0004.137] I> decompressing BMP blob ...
[0004.140] I> Kernel type = Normal
[0004.141] I> Loading kernel-bootctrl from partition
[0004.141] I> Loading partition kernel-bootctrl at 0xa42b0000 from device(0x1)
[0004.148] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0004.148] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0004.149] I> ########## SD boot ##########
[0004.153] I> No sdcard
[0004.155] I> -0 params source =
[0004.158] E> Blockdev open: exit error
[0004.161] E> SD boot failed, err: 724238353
[0004.165] I> ########## USB boot ##########
[0004.174] W> No valid slot number is found in scratch register
[0004.175] W> Return default slot: _a
[0004.191] I> USB Firmware Version: 60.06 release
[0004.247] I> enabling 'vdd-5v-sata' regulator
[0004.252] I> regulator of usb2-1 already enabled
[0004.257] I> regulator of usb2-2 already enabled
[0004.261] I> regulator of usb2-3 already enabled
[0005.265] E> failed to initialize xhci controller
[0005.265] E> Error in init of XUSB host driver, err: 79790026
[0005.265] E> Failed to initialize device 5-0
[0005.266] E> USB boot failed, err: 2037973030
[0005.266] I> ########## Fixed storage boot ##########
[0005.266] I> Already published: 00010003
[0005.267] I> Look for boot partition
[0005.270] I> Fallback: assuming 0th partition is boot partition
[0005.276] I> Detect filesystem
[0005.303] I> Loading extlinux.conf ...
[0005.303] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
[0005.346] I> L4T boot options
[0005.346] I> [1]: "primary kernel"
[0005.347] I> Enter choice:
[0008.348] I> Continuing with default option: 1
[0008.348] I> Loading kernel sig file from rootfs ...
[0008.348] I> rootfs path: /sdmmc_user/boot/Image.sig
[0008.367] I> Loading kernel binary from rootfs ...
[0008.367] I> rootfs path: /sdmmc_user/boot/Image
[0008.608] I> Validate kernel ...
[0008.608] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
[0008.933] I> No kernel-dtb binary path
[0008.933] W> No valid slot number is found in scratch register
[0008.934] W> Return default slot: _a
[0008.934] I> A/B: bin_type (38) slot 0
[0008.934] I> Loading kernel-dtb from partition
[0008.934] I> Loading partition kernel-dtb at 0x91000000 from device(0x1)
[0008.943] I> Validate kernel-dtb ...
[0008.943] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
[0008.948] I> Loading ramdisk from rootfs ...
[0008.949] I> rootfs path: /sdmmc_user/boot/initrd
[0009.008] I> Kernel hdr @0xa42b0000
[0009.009] I> Kernel dtb @0x90000000
[0009.009] I> decompressor handler not found
[0009.009] I> Copying kernel image (34799632 bytes) from 0xa42b0000 to 0x80080000 ... e
[0009.016] I> Updated bpmp info to DTB
[0009.018] I> Ramdisk: Base: 0x92000000; Size: 0x54eb56
[0009.018] I> Updated initrd info to DTB
[0009.018] W> WARN: Fail to override "console=none" in commandline
[0009.021] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0009.029] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0009.036] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0009.043] W> No valid slot number is found in scratch register
[0009.049] W> Return default slot: _a
[0009.052] I> Active slot suffix:
[0009.055] I> add_boot_slot_suffix: slot_suffix =
[0009.060] I> Linux Cmdline: console=ttyTCU0,115200 video=tegrafb no_console_suspend=1
[0009.084] I> Updated bootarg info to DTB
[0009.088] W> MAC addr invalid!
[0009.091] E> Failed to get WIFI MAC address
[0009.095] W> MAC addr invalid!
[0009.098] E> Failed to get Bluetooth MAC address
[0009.102] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:e5:79:42
[0009.109] W> "plugin-manager" doesn't exist, creating
[0009.114] I> Adding /chosen/plugin-manager/cvm
[0009.118] W> "chip-id" doesn't exist, creating
[0009.122] I> Adding /chosen/plugin-manager/chip-id
[0009.127] W> "configs" doesn't exist, creating
[0009.131] I> Adding /chosen/plugin-manager/configs
[0009.135] W> "ids" doesn't exist, creating
[0009.139] I> Adding /chosen/plugin-manager/ids
[0009.144] W> "odm-data" doesn't exist, creating
[0009.148] I> Adding /chosen/plugin-manager/odm-data
[0009.156] W> "memory" doesn't exist, creating
[0009.158] I> [0] START: 0x80000000, END: 0xac000000
[0009.162] I> [1] START: 0xac004000, END: 0xf09d0000
[0009.166] I> [2] START: 0xf09dc000, END: 0xf09e0000
[0009.171] I> dram_block larger than 80000000
[0009.175] I> [3] START: 0x100000000, END: 0x480000000
[0009.180] I> added [base:0x80000000, size:0x2c000000] to /memory
[0009.186] I> added [base:0xac200000, size:0x44600000] to /memory
[0009.192] I> added [base:0x100000000, size:0x380000000] to /memory
[0009.199] I> Updated memory info to DTB
[0009.202] E> add_disp_param: failed to get display params for du=0
[0009.208] W> "reset" doesn't exist, creating
[0009.212] I> NVG: Logical CPU: 0; MPIDR: 0x80000000
[0009.217] I> NVG: Logical CPU: 1; MPIDR: 0x80000001
[0009.221] I> NVG: Logical CPU: 2; MPIDR: 0x80000100
[0009.226] I> NVG: Logical CPU: 3; MPIDR: 0x80000101
[0009.231] I> NVG: Logical CPU: 4; MPIDR: 0x80000200
[0009.235] I> NVG: Logical CPU: 5; MPIDR: 0x80000201
[0009.240] I> NVG: Logical CPU: 6; MPIDR: 0x80000300
[0009.245] I> NVG: Logical CPU: 7; MPIDR: 0x80000301
[0009.251] W> "misc-data" doesn't exist, creating
[0009.254] I> Boot-device: eMMC
[0009.257] I> Add boot-sdmmc to plugin-manager/misc-data
[0009.262] I> Add storage-sdmmc to plugin-manager/misc-data
[0009.267] W> Unknown storage device
[0009.272] I> Add serial number:0421119068803 as DT property
[0009.277] I> Plugin-manager override starting
[0009.281] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0009.288] I> node /plugin-manager/fragement-soft-wdt matches
[0009.296] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0009.300] I> node /plugin-manager/fragment-tegra-ufs-lane10 matches
[0009.311] I> Disable plugin-manager status in FDT
[0009.312] I> Plugin-manager override finished successfully
[0009.314] I> tegrabl_load_kernel_and_dtb: Done
[0009.318] E> tegrabl_display_clear: display is not initialized
[0009.323] W> Boot logo display failed...
[0009.327] I> Kernel EP: 0x80080000, DTB: 0x90000000
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.140-tegra (root@SWDEV4) (gcc version 7.3.1 20180425 [1
[ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[ 0.000000] OF: fdt:memory scan node memory, reg size 48,
[ 0.000000] OF: fdt: - 80000000 , 2c000000
[ 0.000000] OF: fdt: - ac200000 , 44600000
[ 0.000000] OF: fdt: - 100000000 , 380000000
[ 0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options '')
[ 0.000000] bootconsole [tegra_comb_uart0] enabled
��WARNING: pll_d3 has no dyn ramp
thanks