Hi.
Unter [1] you can find the system variant.
So I updated the following file. Does this mean the file did not fit into DRAM before I wrote it to eMMC?
$ du -h emmc-fsimx8mp.sysimg
68M emmc-fsimx8mp.sysimg
$ ll emmc-fsimx8mp.sysimg -h
-rw-r--r-- 1 brenkem domain_users 233M Apr 29 14:09 emmc-fsimx8mp.sysimg
For every one who noticed a file size difference between du and ls, see [2].
[1]:
U-Boot 2021.04-F+S-fsimx8mp-Y2023.09 (Aug 31 2023 - 12:56:23 +0000) for F&S
CPU: i.MX8MP[8] rev1.1, 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C)
Reset: POR
Model: PicoCoreMX8MPr2
Board: PicoCoreMX8MPr2 Rev 1.10 (2x LAN, WLAN, eMMC, 1x DRAM)
DRAM: 2 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x52]
MMC: FSL_SDHC: 0, FSL_SDHC: 2
Env: Loading from MMC... OK
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
ATF: fa25831
CFG: Found at 0x918000
NBoot: 2023.09
Fastb: flash target is MMC:2
Net: eth1: ethernet@30be0000, eth0: ethernet@30bf0000 [PRIME]
Fastb: Normal fastboot
Normal Boot
Hit any key to stop autoboot: 0
PicoCoreMX8MPr2 # printenv platform
platform=picocoremx8mpr2
PicoCoreMX8MPr2 # bdinfo
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000040000000
-> size = 0x0000000080000000
flashstart = 0x0000000000000000
flashsize = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate = 115200 bps
relocaddr = 0x00000000bff15000
reloc off = 0x000000007fd15000
Build = 64-bit
current eth = ethernet@30bf0000
ethaddr = 00:05:51:07:55:83
IP addr = 169.254.255.44
fdt_blob = 0x00000000bdbf32b0
new_fdt = 0x00000000bdbf32b0
fdt_size = 0x000000000000cb00
lmb_dump_all:
memory.cnt = 0x1
memory.size = 0x0
memory.reg[0x0].base = 0x40000000
.size = 0x80000000
reserved.cnt = 0x1
reserved.size = 0x0
reserved.reg[0x0].base = 0xbdbf1eb0
.size = 0x240e150
arch_number = 0x00000000ffffffff
TLB addr = 0x00000000bfff0000
irq_sp = 0x00000000bdbf32a0
sp start = 0x00000000bdbf32a0
BOARD-CFG = 0x0000000000918000
Early malloc usage: a448 / 15000
[2]:
https://askubuntu.com/question…nt-size-for-the-same-file