Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-06 Thread Lists Nick Betteridge
Hi Simon, Thanks for the reply Does qemu have RAM at 0x4? Can you use 'md' to check that region? I am not sure why it is restarting when you load something there, but that might be unrelated to U-Boot and more to do with QEMU? You're right, this could easily be a qemu issue - there

Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-04 Thread Simon Glass
Hi Lists, On Fri, 4 Nov 2022 at 04:26, Lists Nick Betteridge wrote: > > Hi Simon, > > Thanks for getting back to me > > >> > >> I'm developing on an ubuntu x86 machine, trying to run the u-boot > >> hello_world standalone application which resides on an image |sd.img| > >> which contains a

Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-04 Thread Lists Nick Betteridge
Hi Simon, Thanks for getting back to me I'm developing on an ubuntu x86 machine, trying to run the u-boot hello_world standalone application which resides on an image |sd.img| which contains a partition I've compiled u-boot (|v2022.10|) with |qemu-x86_64_defconfig| I run qemu with

Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-04 Thread Lists Nick Betteridge
Hi Tom, Thanks for getting back to me I'm developing on an ubuntu x86 machine, trying to run the u-boot hello_world standalone application which resides on an image |sd.img| which contains a partition I've compiled u-boot (|v2022.10|) with |qemu-x86_64_defconfig| I run qemu with

Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-03 Thread Simon Glass
Hi Lists, On Thu, 3 Nov 2022 at 05:11, Lists Nick Betteridge wrote: > > I'm developing on an ubuntu x86 machine, trying to run the u-boot > hello_world standalone application which resides on an image |sd.img| > which contains a partition > > I've compiled u-boot (|v2022.10|) with

Re: Running u-boot standalone hello_world on an image partition with qemu

2022-11-03 Thread Tom Rini
On Thu, Nov 03, 2022 at 09:54:40AM +, Lists Nick Betteridge wrote: > I'm developing on an ubuntu x86 machine, trying to run the u-boot > hello_world standalone application which resides on an image |sd.img| which > contains a partition > > I've compiled u-boot (|v2022.10|) with

Running u-boot standalone hello_world on an image partition with qemu

2022-11-03 Thread Lists Nick Betteridge
I'm developing on an ubuntu x86 machine, trying to run the u-boot hello_world standalone application which resides on an image |sd.img| which contains a partition I've compiled u-boot (|v2022.10|) with |qemu-x86_64_defconfig| I run qemu with "|qemu-system-x86_64 -m 1024 -nographic -bios