How should I set load_address for fdt in the .its file...

2021-12-23 Thread ckim
Hello all, I saw https://www.thegoodpenguin.co.uk/blog/u-boot-fit-image-overview/ and used it to make .itb file (FIT image). (see the its sample right below the line saying : Let's try this out by creating an image tree source file (.its): ) I was doing the experiment and found the load address

RE: printf works but how can I make debug() printed to serial port console?

2021-12-21 Thread ckim
As the document said, I tried added "#define DEBUG" in each file but it doesn't work. If I add "#define debug printf" then, of course debug() is printed. -Original Message- From: U-Boot On Behalf Of Chan Kim Sent: Wednesday, December 22, 2021 3:13 PM To: U-Boot Mailing List Subject: prin

how to see cpp(C preprocessor) output for a file?

2021-12-14 Thread ckim
Hello, Is there any way I can see the cpp output of a file (for example arch/arm/lib/vsprintf.c) after the build? (in the Makefile option for example) I see some code not executed though I think I have all the configs for the lines. Thanks! Chan Kim

how to run u-boot on qemu arm64 virt machine?

2021-10-12 Thread ckim
Hello, u-boot mail list members, I'm trying to run u-boot on qemu arm64 virt machine to analyze how the S/W runs. I followed "doc/board/emulation/qemu-arm.rst", and here is what I did. For qemu build (using qemu-2.9.0), I did under ~/QEMU/qemu directory, mkdir build; cd build; ../configure -