md 0805283e 0805283e: 4489028b 1beba4bd 7502fb83 028b660d ...D.......u.f.. 0805284e: 7d448966 c0b70fa4 028a09eb a43d4488 f.D}.........D=. 0805285e: 51c0b60f 75ff5047 90558994 059e2568 ...QGP.u..U.h%.. 0805286e: aaefe808 558bffff 10c48390 f739da01 .......U......9. 0805287e: f089b975 af0fff31 0c4501c3 548a1deb u...1.....E....T 0805288e: b60fa43d 89b60fca 08059cdc 7497e180 =..............t 0805289e: 79d28404 3d44c605 39472ea4 50df75c7 ...y..D=..G9.u.P 080528ae: a4458d50 9e2b6850 44c60805 e800a43d P.E.Ph+....D=... 080528be: ffffaaa1 29087d01 25e81475 83ffffab .....}.)u..%.... 080528ce: c08510c4 14eb0874 891b048d 7d839445 ....t.......E..} 080528de: 850f0014 ffffff33 03ebc031 8dffc883 ....3...1....... 080528ee: 5e5bf465 90c35d5f 89559090 0c458be5 e.[^_]....U...E. 080528fe: 5d084589 ffae50e9 e58955ff 0f10458b .E.].P...U...E.. 0805290e: 830c45af e0830fc0 084589f0 b00de95d .E........E.]... 0805291e: 8955ffff 535657e5 8b4cec83 3c6a0c7d ..U..WVS..L.}.j< 0805292e: 68145d8b 08059e33 758df16a 45c756ac .].h3...j..u.V.E =>mtest 0805283e 080528fe Pattern 00000000 Writing... Segmentation Fault
So close.. On 12/23/11, Érico Porto <[email protected]> wrote: > doing md 0805283e works > > if I can change the base address now, every memory command should work > > On 12/23/11, Érico Porto <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 > -- Érico V. Porto _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

