Fix MIPS/Malta target and its IDE work
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Re-embed the FDTs for the Malta targets. | +0 | 0 replies | |
| 2/2 | Fix IDE commands issued, fix endian issues, fix non MMIO | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix MIPS/Malta target and its IDE work
Quoted 34 lines · Daniel Schwierzeck
Am Dienstag, den 23.02.2021, 15:19 +0100 schrieb Reinoud Zandijk:
Quoted 27 lines
Hi Daniel,
Quoted 11 lines · Daniel Schwierzeck
Am Montag, den 22.02.2021, 20:56 +0100 schrieb Reinoud Zandijk:
Quoted 10 lines
If I remove it, the machine just spins in Qemu, no output, nothing.
If I add
it, it works fine again. I found out by bisecting. I have no idea why
the
tests aren't picking this up. Could it be a qemu/gcc/binutils combination
issue? A symbol not set as expected?Quoted 6 lines
Quoted 4 lines
qemu 5.1.0
gcc 8.3.0
binutils 2.32which board config did you try exactly? malta or maltael?
Both malta and maltael have the same behaviour. And yeah, for maltael i needed
the u-boot-swap.bin indeed! That was not that obvious at first but trial and
error showed it.Quoted 5 lines
How are the tests performed? Are the actual u-boot images passed as compiled
with `-bios' to qemu and that alone? Or are the tests also sneaking in the FDT
to qemu? By f.e. appending them?
Quoted 7 lines
we use the images as built by the default configs. We don't use "-bios" but "-drive if=pflash,file=${U_BOOT_BUILD_DIR}/flash.img,format=raw" to emulate NOR flash and to be closer to hardware.
flash.img is created with that script:
https://gitlab.denx.de/u-boot/u-boot-test-hooks/-/blob/master/bin/flash.qemu_gen_padded_image
Hello Daniel,
thanks for pointing out how the Gitlab CI test is run.
This looks a bit different to doc/board/emulation/qemu-mips.rst where '-pflash flash' is used as argument.
Do you want to update the man-page to use -drive instead of -pflash?
Best regards
Heinrich