Error while porting OS to uno q

Hello, I'm currently trying to port maemo leste to the arduino uno q, but when I try to boot it, it gives me this log


Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.4.1.2-00023-KAMORTALAZ-5
S - IMAGE_VARIANT_STRING=AgattiPkgLAA
S - OEM_IMAGE_VERSION_STRING=hu-snanaval-hyd
S - Boot Interface: eMMC
S - Secure Boot: Off
S - Boot Config @ 0x01b46070 = 0x00000041
S - JTAG ID @ 0x01b46130 = 0x001c80e1
S - OEM ID @ 0x01b46138 = 0x00000000
S - Serial Number @ 0x01b46134 = 0xfc2007a2
S - OEM Config Row 0 @ 0x01b441b8 = 0x0000000000000000
S - OEM Config Row 1 @ 0x01b441c0 = 0x0000000000000000
S - Feature Config Row 0 @ 0x01b441d0 = 0x0050200016418000
S - Feature Config Row 1 @ 0x01b441d8 = 0x0012008017830000
S - Core 0 Frequency, 1305 MHz
S - PBL Patch Ver: 1
S - PBL freq: 600 MHZ
D -      5512 - pbl_apps_init_timestamp
D -    148742 - bootable_media_detect_timestamp
D -      3613 - bl_elf_metadata_loading_timestamp
D -       694 - bl_hash_seg_auth_timestamp
D -     15577 - bl_elf_loadable_segment_loading_timestamp
D -      4059 - bl_elf_segs_hash_verify_timestamp
D -     17416 - bl_sec_hash_seg_auth_timestamp
D -       861 - bl_sec_segs_hash_verify_timestamp
D -        32 - pbl_populate_shared_data_and_exit_timestamp
S -    196506 - PBL, End
B -    213699 - SBL1, Start (MPM timestamp = 218624)
B -    327353 - SBL1 BUILD @ 18:02:00 on Jun 19 2025
B -    332683 - usb: hs_phy_nondrive_start
B -    337037 - usb: hs_phy_nondrive_finish
D -      8529 - sbl1_hw_init
D -        12 - boot_flash_init
B -    372278 - Using boot chain :: Primary
D -     25200 - sbl1_update_partition_ids
D -       957 - Auth Metadata
D -      7482 - sbl1_xblconfig_init
D -       389 - sbl1_feature_config_init
D -         3 - boot_config_data_table_default_init
D -        17 - sbl1_ddr_set_default_params
D -      4133 - boot_config_data_table_init
B -    399408 - CDT Version:3,Platform ID:32,Major ID:1,Minor ID:0,Subtype:1
D -      9483 - sbl1_hw_platform_pre_ddr
D -      5079 - devcfg init
B -    477326 - PM: PSI: b0x00_v0x14
B -    480868 - PM: Device Init # SPMI Transn: 4094
B -    484032 - PM: Driver Init # SPMI Transn: 233
B -    485539 - PM: Imola charging = 0x0
B -    490039 - PM: CHG Init # SPMI Transn: 4331
D -     78479 - pmic XBL init
D -     10399 - vsense_railway_cpr init
D -     98512 - sbl1_hw_pre_ddr_init
D -         3 - boot_dload_handle_forced_dload_timeout
D -      2830 - sbl1_load_ddr_training_data
D -      4974 - sbl1_ddr_set_params
B -    527429 - DSF version = 20.0, DSF RPM version = 11.0
B -    527468 - Manufacturer ID = 255, Device Type = 7
B -    532686 - Rank 0 size = 2048 MB, Rank 1 size = 0 MB
B -    537560 - Max Frequency = 1804 MHz
B -    542699 - Row Hammer Check : DRAM supports unlimited MAC Value : MR24[OP2:0 = 0] & MR24[OP3 = 1] for CH0 & CS0
D -     27902 - sbl1_ddr_init
B -    556612 - do_ddr_training, Start
B -    562910 - Bootup frequency set to 1804800
D -      3645 - do_ddr_training, Delta
D -     10598 - sbl1_do_ddr_training
D -         2 - sbl1_hand_control_to_devprog_ddr_or_ddi
B -    574007 - Pimem init cmd, entry
D -      9921 - Pimem init cmd, exit
D -     15609 - sbl1_post_ddr_init
D -       273 - sbl1_hw_init_secondary
B -    597773 - APDP Image Loaded, Start
D -      1073 - APDP Image Loaded, Delta - (0 Bytes)
D -         4 - boot_dload_dump_security_regions
D -        13 - boot_dload_check
D -         1 - boot_cache_set_memory_barrier
D -         1 - boot_smem_debug_init
D -       303 - boot_smem_init
D -         3 - boot_smem_alloc_for_minidump
D -        45 - boot_smem_store_pon_status
D -        10 - sbl1_hw_platform_smem
D -       114 - boot_clock_init_rpm
D -         2 - boot_vsense_copy_to_smem
D -         2 - boot_share_flash_data
D -         7 - boot_populate_ram_partition_table
D -         6 - boot_populate_ddr_details_shared_table
D -         4 - sbl1_tlmm_init
D -         2 - sbl1_efs_handle_cookies
D -         1 - boot_apt_test
B -    664252 - OEM_MISC Image Loaded, Start
D -       764 - Auth Metadata
D -       240 - Segments hash check
D -      7245 - OEM_MISC Image Loaded, Delta - (7816 Bytes)
B -    677125 - QTI_MISC Image Loaded, Start
D -      2900 - QTI_MISC Image Loaded, Delta - (0 Bytes)
B -    686081 - PM: PM Total Mem Allocated: 1249 
D -      5042 - sbl1_pm_aop_pre_init_wrapper
B -    693514 - RPM Image Loaded, Start
D -       842 - Auth Metadata
D -      1308 - Segments hash check
D -     15892 - RPM Image Loaded, Delta - (220604 Bytes)
B -    712637 - QSEE Dev Config Image Loaded, Start
D -       985 - Auth Metadata
D -       443 - Segments hash check
D -     13377 - QSEE Dev Config Image Loaded, Delta - (40096 Bytes)
B -    734789 - QSEE Image Loaded, Start
D -     17873 - Auth Metadata
D -     17192 - Segments hash check
D -     96865 - QSEE Image Loaded, Delta - (3416070 Bytes)
D -        47 - sbl1_hw_play_vibr
B -    842539 - SEC Image Loaded, Start
D -       606 - SEC Image Loaded, Delta - (0 Bytes)
B -    846721 - QHEE Image Loaded, Start
D -       815 - Auth Metadata
D -      2134 - Segments hash check
D -     15257 - QHEE Image Loaded, Delta - (374176 Bytes)
B -    867650 - STI Image Loaded, Start
D -      2681 - STI Image Loaded, Delta - (0 Bytes)
B -    873909 - ABL Image Loaded, Start
D -       740 - Auth Metadata
D -       695 - Segments hash check
D -     11167 - ABL Image Loaded, Delta - (146024 Bytes)
B -    888967 - APPSBL Image Loaded, Start
D -      1023 - Auth Metadata
D -      8748 - Segments hash check
D -     28427 - APPSBL Image Loaded, Delta - (2228224 Bytes)
D -         5 - sbl1_appsbl_arch_determination
B -    926606 - SBL1, End
D -    716484 - SBL1, Delta
S - Flash Throughput, 61000 KB/s  (6466710 Bytes,  105436 us)
S - DDR Frequency, 1804 MHz


UEFI Start     [ 1115]
 - 0x05FC01000 [ 1121] Sec.efi
ASLR        : ON
DEP         : ON (RTB)
Timer Delta : +5 mS
RAM Entry 0 : Base 0x0000000040000000  Size 0x000000003EB00000
RAM Entry 1 : Base 0x0000000080000000  Size 0x0000000040000000
UART Buffer size set to 0x8000 
Init 3 aux cores of 3
Init CPU core 1
Init CPU core 2
Init CPU core 3
  > Scheduler up on Core 1
UEFI Ver    : 5.0.250619.BOOT.XF.4.1.2-00023-KAMORTALAZ-5
Build Info  : 64b Jun 19 2025 18:02:47
Boot Device : eMMC
PROD Mode   : TRUE
Retail      : TRUE
  > Scheduler up on Core 2
  > Scheduler up on Core 3
First FV Decompress time 23 ms
Second FV Decompress time 0 ms (Decompress Thread)
Module cannot re-initialize DAL module environment
Embedded Images Supported and Commonlibs loaded
HW Wdog Setting from PCD : Disabled
PM0: 55, 
DisplayDxe: SW renderer mode enabled!
DisplayDxe: Resolution 640x480 (1 intf)
UsbConfigPortsQueryConnectionChange: UFP and Type-C
UsbConfigPortsQueryConnectionChange: usbport->connectstate: ATT
MinidumpTADxe: Minidump TA loading not enabled.
WaitParallelThreads InIt [ 1333] 
-----------------------------
Platform Init  [ 1333] BDS
Var Store  : WARNING, not persistent
UEFI Ver   : 5.0.250619.BOOT.XF.4.1.2-00023-KAMORTALAZ-5
Platform           : IOT
Chip Name          : QRB_AGATTI
Chip Ver           : 1.0
Chip Serial Number : 0xFC2007A2
-----------------------------
UEFI Total : 235 ms
POST Time      [ 1350] OS Loader
Loader Build Info: May 26 2025 15:58:24
VB: Non-secure device: Security State: (0xF3F)
VB: RWDeviceState: Succeed using devinfo!
GetActiveSlot: First boot: set default slot _a
Total DDR Size: 0x000000007EB00000 
KeyPress:0, BootReason:0
Fastboot=0, Recovery:0
GetVmData: making ScmCall to get HypInfo
GetVmData: No Vm data present! Status = (0x3)
VM Hyp calls not present
Find misc_boot Partiton.
misc_boot cookie = 00, Boot Slot is _a
Active Slot _a is bootable, retry count 6
Booting from slot (_a)
Booting Into Mission Mode
Loading Image Start : 1688 ms
Loading Image Done : 1689 ms
Total Image Read size : 4096 Bytes
Loading Image Start : 1689 ms
Loading Image Done : 1692 ms
Total Image Read size : 548864 Bytes
No dtbo partition is found, Skip dtbo
VB: verification skipped for debug builds
GetVmData: making ScmCall to get HypInfo
GetVmData: No Vm data present! Status = (0x3)
No Ffbm cookie found, ignore: Not Found
Memory Base Address: 0x40000000
Decompressing kernel image start: 1694 ms
Decompressing kernel image done: 1707 ms
BootLinux: failed to get dtbo image
DTB offset is incorrect, kernel image does not have appended DTB
No verity command line found
Failed to get LEVerityCmdLine: Not Found
Error getting off mode charging info: Unsupported
Cmdline: root=/dev/notreal androidboot.bootdevice=4744000.sdhci androidboot.serialno=28fe33d androidboot.baseband=apq

RAM Partitions
Add Base: 0x0000000040000000 Available Length: 0x000000003EB00000 
Add Base: 0x0000000080000000 Available Length: 0x0000000040000000 
ERROR: Could not get splash memory region node
kaslr-Seed is added to chosen node

Shutting Down UEFI Boot Services: 1712 ms
Start EBS        [ 1712] 
BDS: LogFs sync skipped, Unsupported
App Log Flush : 150 ms
Exit EBS        [ 1876] UEFI End


U-Boot 2025.07-rc1-g21292a3cdcb4 (Sep 11 2025 - 13:47:39 +0000)

Model: Arduino SA,Imola
DRAM:  2 GiB
Core:  98 devices, 29 uclasses, devicetree: board
MMC:   mmc@4744000: 0
Loading Environment from nowhere... OK
In:    serial,button-kbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Model: Arduino SA,Imola
Net:   No ethernet found.

scanning bus for devices...
starting USB...
No USB controllers found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit <SPACE> key to stop autoboot in  1s
Failed to load EFI variables
FAT sector size mismatch (fs=4096, dev=512)
FAT sector size mismatch (fs=4096, dev=512)
Loading Boot0000 'mmc 0' failed
Loading from BootNext failed, falling back to BootOrder
FAT sector size mismatch (fs=4096, dev=512)
FAT sector size mismatch (fs=4096, dev=512)
Loading Boot0000 'mmc 0' failed

I made this repository for building the OS using debootstrap

Update:
I have changed the 4096 to 512 in the dtb.bin part arduino/arduino-deb-images/debos-recipes/qualcomm-linux-debian-flash.yaml and it gave me a different error, this is probably a bug from arduinos side