On 1/13/20 10:52 PM, Andy Shevchenko wrote:
On Mon, Jan 13, 2020 at 11:05 PM Heinrich Schuchardt <xypron.g...@gmx.de> wrote:
On 1/13/20 9:58 PM, Andy Shevchenko wrote:
On Mon, Jan 13, 2020 at 9:22 PM Andy Shevchenko
<andy.shevche...@gmail.com> wrote:
https://paste.cathedral-networks.org/OverdoseSegment
I dunno how long it will be available.
I created it using
% dd if=/dev/mmcblk0p9 of=mmc-fat-part conv=sparse
% gzip mmc-fat-part
Doesn't work for me:
"File Quota Exceeded"
I guess Github wouldn't give you any trouble.
https://gist.github.com/andy-shev/469aef8dfcd8f5605cb8992cf5958769
This image loads fine on current U-Boot, see below.
So if you have trouble loading the same image on your machine from MMC
the problem might be with MMC and not with FAT.
Best regards
Heinrich
make qemu_arm64_defconfig
export CROSS_COMPILE=aarch64-linux-gnu-
make
qemu-system-aarch64 -machine virt -m 1G -smp cores=2 \
-bios u-boot.bin -cpu cortex-a53 -nographic -gdb tcp::1234 \
-netdev user,id=eth0,tftp=tftp -device e1000,netdev=eth0 \
-drive if=none,file=foo.img,format=raw,id=mydisk \
-device virtio-rng-pci \
-device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
U-Boot 2020.01-00268-ge936504885-dirty (Jan 12 2020 - 20:27:36 +0100)
DRAM: 1 GiB
Flash: 128 MiB
*** Warning - bad CRC, using default environment
In: pl011@9000000
Out: pl011@9000000
Err: pl011@9000000
Net: No ethernet found.
Hit any key to stop autoboot: 0
=> scsi scan
scanning bus for devices...
Target spinup took 0 ms.
SATA link 1 timeout.
SATA link 2 timeout.
SATA link 3 timeout.
SATA link 4 timeout.
SATA link 5 timeout.
AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
flags: 64bit ncq only
Device 0: (0:0) Vendor: ATA Prod.: QEMU HARDDISK Rev: 2.5+
Type: Hard Disk
Capacity: 768.0 MB = 0.7 GB (1572864 x 512)
=> ls scsi 0:1
System Volume Information/
23 New Text Document.txt
$RECYCLE.BIN/
1 file(s), 2 dir(s)
=> load scsi 0:1 0x40200000 'New Text Document.txt'
23 bytes read in 11 ms (2 KiB/s)
=> md.b 40200000 20
40200000: 46 69 6c 65 20 6f 6e 20 46 41 54 33 32 20 70 61
File on FAT32 pa
40200010: 72 74 69 74 69 6f 6e 00 00 00 00 00 00 00 00 00
rtition.........
=>