RE: compile error

2023-06-04 Thread Chan Kim
.04). Chan Kim >-Original Message- >From: Chan Kim >Sent: Sunday, June 4, 2023 11:41 PM >To: U-Boot Mailing List >Subject: compile error > >Hello all, >For commit 26659d42654 (Fri Jun 2 12:13:01 2023 -0400) > >When I do 'make qemu_arm64_defconfig' and

[PATCH] Add CONFIG_GICV3 for ARCH_QEMU

2023-06-04 Thread Chan Kim
*/ +#define GICD_BASE 0x800 /* 24MHz, FPGA runs at 5MHz */ +#define GICR_BASE 0x80a /* 24MHz, FPGA runs at 5MHz */ #endif /* __CONFIG_H */ Thanks! Chan Kim

RE: Running u-boot and linux on qemu arm64 virt machine, linux shell does not respond.. ==> solved!

2023-06-04 Thread Chan Kim
er. Thank you! Chan Kim From: Chan Kim Sent: Friday, June 2, 2023 6:28 PM To: U-Boot Mailing List ; 'qemu-disc...@nongnu.org' ; kernelnewb...@kernelnewbies.org Subject: Running u-boot and linux on qemu arm64 virt machine, linux shell does not respond.. Hello all, I'm trying to

compile error

2023-06-04 Thread Chan Kim
] Error 1 make: *** [Makefile:1853: tools] Error 2 Can anyone please fix it? Thank you! Chan Kim

Running u-boot and linux on qemu arm64 virt machine, linux shell does not respond..

2023-06-02 Thread Chan Kim
st what I can try to solve this problem? (I mean, the problem of linux shell not responding in qemu virtual machine) I would appreciate it for any comment or help. Thank you. Chan Kim

CONFIG_SPL_BUILD seems to be not defined in my u-boot-spl program.. why?

2023-05-28 Thread Chan Kim
'. In what case can this happen? Any comment will be deeply appreciated. Thank you. Chan Kim

In u-boot proper, what function in int_sequence_r list jumps to linux?

2023-05-16 Thread Chan Kim
t runs the run_main_loop function and comes out to prompt. My question is : in what function am I supposed to jump to linux? I will appreciate any comment or answer. (using u-boot.v2022.07) Thank you. Chan Kim

RE: How should I build u-boot for qemu_arm64_defconfig and run it on arm64 qemu virt machine?

2023-05-16 Thread Chan Kim
OOT_OS of course. I referenced the sample its files in u-boot. (I can't copy-paste the file now so I just tell you the key lines) Hope this helps someone layter. Thank you. Chan Kim >-Original Message- >From: U-Boot On Behalf Of 김찬 >Sent: Tuesday, May 9, 2023 3:13 PM >To: U-B

How should I build u-boot for qemu_arm64_defconfig and run it on arm64 qemu virt machine?

2023-05-08 Thread Chan Kim
, shouldn't I? How am I supposed to run u-boot-spl and u-boot on this qemu machine? (from lds files, it looks like they both start at address 0). (qemu machine is arm64 virt machine, qemu 6.2.0). Thank you. Chan Kim

RE: [Question] build error "undefined reference to `fdtdec_setup_memory_banksize'" (running u-boot and linux on qemu arm64 machine using SPL BOOT from RAM mode)

2023-05-03 Thread Chan Kim
arm/Kconfig, those errors are gone. Thank you. Chan Kim >-Original Message- >From: Chan Kim >Sent: Wednesday, May 3, 2023 6:08 PM >To: U-Boot Mailing List >Subject: [Question] build error "undefined reference to >`fdtdec_setup_memory_banksize'" (running

[Question] build error "undefined reference to `fdtdec_setup_memory_banksize'" (running u-boot and linux on qemu arm64 machine using SPL BOOT from RAM mode)

2023-05-03 Thread Chan Kim
of errors? If someone could provide me an anser or hind, I will be very grateful. Thank you! Chan Kim

unsubscribe

2022-11-30 Thread Chan Kim

RE: How to use add-symbol-file in gdb after the program jumped to linux? (both when PC is physical and virtual)

2022-01-13 Thread Chan Kim
follow the source using qemu and gdb step-by-step after __primary_switched. add-symbol-file images/vmlinux 0xffc010080800 -s .head.text 0xffc01008 -s .init.text 0xffc01047 Hope this helps someone later. Thanks! Chan Kim > -Original Message- > From: Chan Kim

RE: How to use add-symbol-file in gdb after the program jumped to linux? (both when PC is physical and virtual)

2022-01-12 Thread Chan Kim
been set correctly.) Any comment or advice will be deeply appreciated. Thank you! Chan Kim > -Original Message- > From: U-Boot On Behalf Of Chan Kim > Sent: Wednesday, January 12, 2022 4:43 PM > To: U-Boot Mailing List > Subject: How to use add-symbol-file in gdb afte

How to use add-symbol-file in gdb after the program jumped to linux? (both when PC is physical and virtual)

2022-01-11 Thread Chan Kim
comment or advice. Thank you! Chan Kim

In arm64 case, how is fdt address passed to x0 before switching to linux?

2022-01-10 Thread Chan Kim
urn jump_to_image_linux(struct spl_image_info *spl_image) { unsigned long machid = 0x; #ifdef CONFIG_MACH_TYPE machid = CONFIG_MACH_TYPE; #endif Where in the u-boot-spl code is the x0 register set with fdt address? Any comment/advice will be really appreciated. Thank you! Chan Kim

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

2022-01-03 Thread Chan Kim
for passing the console and earlycon, but I don't know how to fill the spl_image_info's arg value) 3. Another question is, in this method, can linux recognize the initramfs.cpio.gz file? (I guessed so because using qemu, it worked) Any comment will be appreciated. Happy new year! Chan Kim

In spl falcon mode, and when in BOOT_DEVICE_RAM, why does it 'load' from RAM to RAM? when it's already loaded..

2021-12-22 Thread Chan Kim
ent will be really appreciated. Chan Kim

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

2021-12-21 Thread Chan Kim
(of course I can change debug to printf to see it). How can I make debug( ) macro output to the serial port? Thank you! Chan Kim

[question] how is include path selected when compiling a .c file?

2021-12-15 Thread Chan Kim
. For example in the above arch/arm/cpu/arm1136/mx31/timer.c file, I guess the #include Is including ./arch/arm/include/asm/arch-mx31/imx-regs.h. Could anyone explain it to me? Thank you! Chan Kim

what is the purpose of timer_init() in board_init_r function in common/spl/spl.c?

2021-12-15 Thread Chan Kim
Hello, I can't figure out why timer_init() is needed in board_init_r function for spl. (common/spl/spl.c) Why is it called there? I'm not sure if I have to provide a version for our board.. Any comment will be appreciated. Thank you. Chan Kim

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

2021-12-14 Thread Chan Kim
Ah, sorry, thanks! Chan > -Original Message- > From: Rasmus Villemoes > Sent: Wednesday, December 15, 2021 4:29 PM > To: Chan Kim ; u-boot@lists.denx.de > Subject: Re: how to see cpp(C preprocessor) output for a file? > > On 14/12/2021 16.10, Chan Kim wrote: >

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

2021-12-14 Thread Chan Kim
But when I do make CROSS_COMPILE=aarch64-none-elf- lib/tiny-printf.1 make: *** No rule to make target 'lib/tiny-printf.1'. Stop. It doesn't work for me.. But make x/y/z.s works. > -Original Message- > From: Chan Kim > Sent: Tuesday, December 14, 2021 11:56 PM > To: 'Rasm

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

2021-12-14 Thread Chan Kim
Wow that would be very helpful. Thank you! Chan > -Original Message- > From: Rasmus Villemoes > Sent: Tuesday, December 14, 2021 9:23 PM > To: c...@etri.re.kr; u-boot@lists.denx.de > Subject: Re: how to see cpp(C preprocessor) output for a file? > > On 14/12/2021 09.23, c...@etri.re.kr

RE: When is the console connected during spl run?

2021-12-10 Thread Chan Kim
Hello? Anybody that can give me some advice on this please ~ Thank you. Chan Kim > -Original Message- > From: U-Boot On Behalf Of Chan Kim > Sent: Wednesday, December 8, 2021 6:39 PM > To: U-Boot Mailing List > Subject: When is the console connected during spl run? >

When is the console connected during spl run?

2021-12-08 Thread Chan Kim
and do serial_init and console_init_f there? Any comment or help will be really appreciated. Thank you! Chan Kim

RE: a question about falcon mode

2021-12-03 Thread Chan Kim
1, 2021 9:16 PM > To: Alex G. > Cc: Chan Kim ; U-Boot Mailing List > Subject: Re: a question about falcon mode > > Hi Alex, > > Well yeah! I thought about that, my question was deliberately open to that > answer too... but what I was looking for is if a dynamic capab

RE: a question about falcon mode

2021-11-25 Thread Chan Kim
> -Original Message- > From: Alex G. > Sent: Thursday, November 25, 2021 11:57 PM > To: Chan Kim ; U-Boot Mailing List > Subject: Re: a question about falcon mode > > On 11/25/21 1:07 AM, Chan Kim wrote: > > Hello all, > > > > I'm trying to implement

a question about falcon mode

2021-11-24 Thread Chan Kim
. Chan Kim

variable __rel_dyn_start and __rel_dyn_end missing for u-boot proper?

2021-11-24 Thread Chan Kim
cant-exactly-understand-the-ass embly-code-about-how-relocation-works-in-u-boot/70094227#70094227 Thank you! Chan Kim

RE: link error while u-boot-spl build : undefined ref to `printf` or `strcmp` etc.

2021-11-21 Thread Chan Kim
Hi Ovidiu, Thank you so much, with those two configs added, u-boot-spl was finally built ok (The remaining 3 or 4 link errors are all gone together) Thank you, Best regards, Chan Kim > -Original Message- > From: Ovidiu Panait > Sent: Monday, November 22, 2021 12:30 AM >

link error while u-boot-spl build : undefined ref to `printf` or `strcmp` etc.

2021-11-21 Thread Chan Kim
f/bin/ld: /home/ckim/U-BOOT/u-boot/spl/../common/spl/spl.c:633: undefined reference to `printf' collect2: error: ld returned 1 exit status make[1]: *** [scripts/Makefile.spl:509: spl/u-boot-spl] Error 1 make: *** [Makefile:1984: spl/u-boot-spl] Error 2 Thank you. Chan Kim

RE: board_init.c file not compiled

2021-11-17 Thread Chan Kim
init and some other files were not compiled. So I removed the SPL_BUILD in the board's Kconfig. Thanks. Chan Kim From: Chan Kim Sent: Tuesday, November 16, 2021 7:06 PM To: U-Boot Mailing List Subject: board_init.c file not compiled Hello all, I'm new to u-boot and having difficult

board_init.c file not compiled

2021-11-16 Thread Chan Kim
rd_init.c is not compiled. Where should I look? I'm reading the documents or build scripts here and there but can't figure it out. Thank you. Chan Kim

how is dts/dt.dtb is generated?

2021-10-29 Thread Chan Kim
/dt.dtb.S is included during the build and how dts/dt.dtb file is generated? Any comment will be deeply appreciated. Thank you. Chan Kim

RE: breakpoint not working in do_mmc_read (using qemu)

2021-10-26 Thread Chan Kim
$1 = 0x67f6b000 Add-symbo-file u-boot $1 (type y) c (continue) Now you can stop at board_init_r or do_mmc_read! Hope that helps. Thanks Chan Kim > -Original Message- > From: U-Boot On Behalf Of Chan Kim > Sent: Friday, October 22, 2021 5:19 PM > To: U-Boot Mailing

breakpoint not working in do_mmc_read (using qemu)

2021-10-22 Thread Chan Kim
/boot/dts/vexpress-v2p-ca9.dtb -kernel u-boot -sd sd.img -nographic -s -S and the u-boot (ELF file) contains debug_info. Any help will be deeply appreciated. Thanks, Chan Kim p.s. BTW, this email list contains mostly PATCH emails between u-boot developers, so I feel a little sorry to ask

RE: please help, "Ram disk image is corrupt or invalid" (qemu virt machine, arm64)

2021-10-21 Thread Chan Kim
Hi, Jaehoon, I followed your suggestion and used CONFIG_INITRAMFS_SOURCE to include the initramfs.cpio.gz in the 'Image' and could see the shell coming up with booti command. Thanks! Chan Kim > -Original Message- > From: Jaehoon Chung > Sent: Wednesday, October 20, 202

questions about mkimage and a good tutorial

2021-10-20 Thread Chan Kim
out u-boot (from kernel, initrd, dtb build to u-boot build and use. hopefully for arm64. I'm hope for too much..), please share it here. Thank you! Chan Kim

RE: please help, "Ram disk image is corrupt or invalid" (qemu virt machine, arm64)

2021-10-19 Thread Chan Kim
g there. Can you find anything suspicious or give me a suggestion? Thank you! Best regards, Chan Kim > -Original Message- > From: Jaehoon Chung > Sent: Tuesday, October 19, 2021 7:43 PM > To: Chan Kim ; 'François Ozog' > Cc: u-boot@lists.denx.de > Subject: Re: plea

RE: please help, "Ram disk image is corrupt or invalid" (qemu virt machine, arm64)

2021-10-19 Thread Chan Kim
0x4000 Moving Image from 0x4020 to 0x4028, end=41c44000 Wrong Ramdisk Image Format Ramdisk image is corrupt or invalid I hoped now I set the device tree to have the initrd location, the kernel could find it, but not. Isn’t there a correct method using this approach? Thank you! B

RE: How to compile u-boot with debug option?

2021-10-19 Thread Chan Kim
follow the code step by step. Thank you for taking time for me. Best regards, Chan Kim > -Original Message- > From: Jaehoon Chung > Sent: Tuesday, October 19, 2021 4:02 PM > To: Chan Kim ; 'U-Boot Mailing List' b...@lists.denx.de> > Subject: Re: How to compile u-boot

RE: How to compile u-boot with debug option?

2021-10-18 Thread Chan Kim
things..) Any comment will be very much appreciated. Thank you, and best regards, Chan Kim > -Original Message- > From: Jaehoon Chung > Sent: Tuesday, October 19, 2021 12:26 PM > To: Chan Kim ; U-Boot Mailing List > Subject: Re: How to compile u-boot with debug optio

How to compile u-boot with debug option?

2021-10-18 Thread Chan Kim
RM aarch64, version 1 (SYSV), statically linked, not stripped I think I should see "with debug_info, not stripped". With connecting gdb, I can't see the source file. The run responds to 'continue' command though. Could any tell me what I can do? Thank you, Chan Kim

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

2021-10-13 Thread Chan Kim
ain processor to start from kernel. Thank you. Chan Kim From: Chan Kim Sent: Thursday, October 14, 2021 12:03 PM To: 'François Ozog' Cc: 'Tom Rini' ; 'u-boot@lists.denx.de' Subject: RE: how to run u-boot on qemu arm64 virt machine? Hi Francois, Thanks for the good information. I

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

2021-10-13 Thread Chan Kim
from SD card the kernel, file system, dtb etc to the memory and calling kernel. Thank you! Chan Kim From: François Ozog Sent: Wednesday, October 13, 2021 6:29 PM To: Chan Kim Cc: Tom Rini ; u-boot@lists.denx.de Subject: Re: how to run u-boot on qemu arm64 virt machine? Hi You can

please help, "Ram disk image is corrupt or invalid" (qemu virt machine, arm64)

2021-10-12 Thread Chan Kim
n-gzipped file of initramfs, the same. Should I use real initrd format(dd image)? Any help will be very much appreciated. Thank you! Chan Kim

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

2021-10-12 Thread Chan Kim
> > That's a very old QEMU version. We use v6.1.0 currently and v4.2.0 before > that. > > -- > Tom Thank you, Tom Yes, so I tried it now with v4.2.0 with "-nographic" option. (Without it I still see qemu manager window.) Chan Kim