doing md 0805283e works if I can change the base address now, every memory command should work
On 12/23/11, Érico Porto <ericoporto2...@gmail.com> 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 <ericoporto2...@gmail.com> wrote: >> 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 I could findout the ram address >> where it is located, I think then the 8MB it says it has wouldn't give >> me segmentation fault... >> >> =>version >> >> U-Boot 2011.12-rc3 (Dec 23 2011 - 11:07:12) >> gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 >> GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810 >> =>printenv >> baudrate=115200 >> stderr=serial >> stdin=serial >> stdout=serial >> >> Environment size: 66/8188 bytes >> =>bdinfo >> boot_params = 0x00000000 >> DRAM bank = 0x00000000 >> -> start = 0x00000000 >> -> size = 0x08000000 >> FB base = 0x00000000 >> >> On 12/23/11, Graeme Russ <graeme.r...@gmail.com> wrote: >>> 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 >>> >>> Regards, >>> >>> Graeme >>> >> >> >> -- >> Érico V. Porto >> > > > -- > Érico V. Porto > -- Érico V. Porto _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot