On 2/6/2023 5:31 PM, Thompson, Corey via lists.yoctoproject.org wrote:
On Mon, Feb 06, 2023 at 01:13:05PM -0700, Sandeep Gundlupet Raju via 
lists.yoctoproject.org wrote:
Hi Corey,

Attached the machine file patch for vpk120 board. With you should be able to
boot without initramfs bundled. Below is the steps you need to follow.

Mark let me know if you have any comments on patch.
Thanks, but I'm worried there may have been some miscommunication.  The
log you pasted indicates that it's running v2022.1, and your
instructions suggest that you want me to disable the initramfs.  We can
already boot a VPK120 QEMU on 2022.1 with or without initramfs.  We can
also boot a VPK120 QEMU on 2022.2 without initramfs.  We can also boot
the VPK120 HW with initramfs, but the issue is that we cannot boot a
VPK120 QEMU on 2022.2 with a bundled initramfs.
[Sandeep]: Sorry for the confusion. Usually we don't run core-image-minimal test with initramfs bundled. We will investigate on this issue and get back to you.

I tried adding some of the machine config settings from yours into mine,
but now I encounter a build error in the device-tree recipe:

| INFO: Reading AIE hardware properties from XSA.
| Trying to assign a console::versal_cips_0_pspmc_0_psv_sbsauart_0 which 
doesn't exists !!!
| ERROR: [Hsi 55-1545] Problem running tcl command 
::sw_device_tree::post_generate : Trying to assign a 
console::versal_cips_0_pspmc_0_psv_sbsauart_0 which doesn't exists !!!
|     while executing
| "error "Trying to assign a console::$console_ip which doesn't exists !!!""
|     (procedure "update_alias" line 43)
|     invoked from within
| "update_alias $os_handle"
|     (procedure "::sw_device_tree::post_generate" line 3)
|     invoked from within
| "::sw_device_tree::post_generate device_tree"
| ERROR: [Hsi 55-1443] Error(s) while running TCL procedure post_generate()
| hsi::generate_target: Time (s): cpu = 00:00:07 ; elapsed = 00:00:08 . Memory 
(MB): peak = 700.215 ; gain = 7.562 ; free physical = 3111 ; free virtual = 
27257
| generate_target failed
|     while executing
| "error "generate_target failed""
|     invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
|       error "generate_target failed"
| }"

[Sandeep]: Your xsa has different name for CIPS uart, Either find the right name you have used in xsa and update below YAML variables in machine conf file or you can disable these variables.

YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0" YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "versal_cips_0_pspmc_0_psv_sbsauart_0"

Please see the minimum working example I referenced earlier which
demonstrates our problem.

https://github.com/cmtptr/corey-build

We want to use an initramfs bundled with the kernel.  Our configuration
works in the branch I called "rel-v2022.1", but doesn't work in the
branch I called "rel-v2022.2".  If you diff those branches, the only
difference between the two is the release for the layers provided by
Xilinx.

Thanks,
Corey



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5149): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5149
Mute This Topic: https://lists.yoctoproject.org/mt/96633802/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to