Re: [U-Boot] testing u-boot on virtual environment

2011-12-24 Thread Érico Porto
Indeed, qemu seems to be the best option. I've also downloaded aqemu to help to build a system configuration fast. Not sure how to load mine ltib generated BSP... Will try a simple env with u-boot only just for now.. Érico V. Porto 2011/12/24 Matthias Weißer > Am 24.12.2011 11:00, schrieb Albe

Re: [U-Boot] testing u-boot on virtual environment

2011-12-24 Thread Matthias Weißer
Am 24.12.2011 11:00, schrieb Albert ARIBAUD: > I don't understand why we'd need a third way to map. It's still an issue > of physical vs virtual mapping, only in the sandbox case the > phys-vs-virt mapping should be done through the mmap()/munmap() OS > services (which at the moment it does not)

Re: [U-Boot] testing u-boot on virtual environment

2011-12-24 Thread Albert ARIBAUD
Hi Simon, Le 24/12/2011 07:03, Simon Glass a écrit : Hi, On Fri, Dec 23, 2011 at 5:53 AM, Érico Porto wrote: md 0 gives me in dmesg: [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 error 4 in u-boot[8048000+1a000] On 12/23/11, Érico Porto wrote: Thanks! Tried to do s

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Simon Glass
Hi, On Fri, Dec 23, 2011 at 5:53 AM, Érico Porto wrote: > md 0 gives me in dmesg: > > > [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 > error 4 in u-boot[8048000+1a000] > > > On 12/23/11, Érico Porto wrote: >> Thanks! >> >> Tried to do some memory display commands but got in

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Albert ARIBAUD
Hi Erico, Le 23/12/2011 15:03, Érico Porto a écrit : md 0805283e 0805283e: 4489028b 1beba4bd 7502fb83 028b660d...D...u.f.. 0805284e: 7d448966 c0b70fa4 028a09eb a43d4488f.D}.D=. 0805285e: 51c0b60f 75ff5047 90558994 059e2568...QGP.u..U.h%.. 0805286e: aaefe808 558b 10c48

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Matthias Weißer
Hi Érico Am 23.12.2011 14:19, schrieb Érico Porto: > Thanks! > > Tried to do some memory display commands but got instant segmentation > fault, and tried to run it as root - but then some bad things > happened, so now I know no one should run it as root. > > I wanted to tryout a memory test algo

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
md 0805283e 0805283e: 4489028b 1beba4bd 7502fb83 028b660d...D...u.f.. 0805284e: 7d448966 c0b70fa4 028a09eb a43d4488f.D}.D=. 0805285e: 51c0b60f 75ff5047 90558994 059e2568...QGP.u..U.h%.. 0805286e: aaefe808 558b 10c48390 f739da01...U..9. 0805287e: f089b975 af0f

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
md 0 gives me in dmesg: [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 error 4 in u-boot[8048000+1a000] On 12/23/11, Érico Porto wrote: > Thanks! > > Tried to do some memory display commands but got instant segmentation > fault, and tried to run it as root - but then some b

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
doing md 0805283e works if I can change the base address now, every memory command should work On 12/23/11, Érico Porto wrote: > md 0 gives me in dmesg: > > > [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 > error 4 in u-boot[8048000+1a000] > > > On 12/23/11, Érico Porto wro

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
Thanks! Tried to do some memory display commands but got instant segmentation fault, and tried to run it as root - but then some bad things happened, so now I know no one should run it as root. I wanted to tryout a memory test algorithm I developed, but it seem u-boot runs with no ram access. If

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Graeme Russ
Hi Érico On 23/12/11 23:46, Érico Porto wrote: > Hello, > > Does anyone know if exists somekind of simulator to run u-boot in test mode? Have a look at the sandbox 'board' - It allows U-Boot to be run as an executable in Linux to test non hardware specific code do: make sandbox_config make all

[U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
Hello, Does anyone know if exists somekind of simulator to run u-boot in test mode? I also have a spare qoriva platform (MPC5604B-TRK), which can't run linux, but maybe could run uboot just to test some autoboot commands. Thanks -- Érico V. Porto ___