[U-Boot-Users] NIOS port at Stratix DevKit: distinctions between bdi and env
Stephan Linz
linz at mazet.de
Mon Oct 27 15:49:53 CET 2003
Hi Scott and all other NIOS people,
today I've successfully brought up and running the U-Boot NIOS port on a
Stratix Development Kit (DK-1S10). Thanks to Scott -- was (is) a great work.
The preconfigured Cyclone Edition was running and startup without critical
problems, because as far as I know the Stratix edition is 100% equal to
Cyclone except the FPGA.
But now, I can't setup my network environment in expected way. The u-boot
environment vars "ethaddr", "iptable", "netmask", and "serverip" are correct
in flash, but bdinfo shows me the default values (compiled in) -- Why ?
(logfile see attachment)
Has anybody similar problems on Cyclone, or is it a Stratix problem (may be
an useless question) ?
Where can I found the setup flow from saved environment to bdi structure
inside the u-boot source code? I want to check up the settings step by step.
Ah: I'm using u-boot cvs snaphot date 20031024.
Thanks, and best regards
--
Mit freundlichen Gruessen
Stephan Linz
======================================================================
Stephan Linz
Softwareentwicklung
MAZeT GmbH Email: mailto:linz at mazet.de
Göschwitzer Str. 32 Tel. : (3641) 2809-55
D-07745 Jena Fax : (3641) 2809-12
Besuchen Sie bitte unsere Web-Seiten: http://www.MAZeT.de
======================================================================
-------------- next part --------------
U-Boot 1.0.0-pre (Oct 26 2003 - 23:09:27)
CPU: Nios-32 Rev. 3.08 (0x3008)
Reg file size: 256 LO_LIMIT/HI_LIMIT: 2/14
Board: Altera Nios 1C20 Development Kit
In: serial
Out: serial
Err: serial
==> md 0
00000000: 4b1138a9 64756162 65746172 3531313d .8.Kbaudrate=115
00000010: 00303032 61687465 3d726464 303a3030 200.ethaddr=00:0
00000020: 64653a37 3a61303a 373a3461 656e0062 7:ed:0a:a4:7b.ne
00000030: 73616d74 35323d6b 35322e35 35322e35 tmask=255.255.25
00000040: 32322e35 65730034 72657672 313d7069 5.224.serverip=1
00000050: 312e3239 322e3836 362e3930 74730035 92.168.209.65.st
00000060: 3d6e6964 69726573 73006c61 756f6474 din=serial.stdou
00000070: 65733d74 6c616972 64747300 3d727265 t=serial.stderr=
00000080: 69726573 69006c61 64646170 39313d72 serial.ipaddr=19
00000090: 36312e32 30322e38 36372e39 00000000 2.168.209.76....
000000a0: 00000000 00000000 00000000 00000000 ................
000000b0: 00000000 00000000 00000000 00000000 ................
000000c0: 00000000 00000000 00000000 00000000 ................
000000d0: 00000000 00000000 00000000 00000000 ................
000000e0: 00000000 00000000 00000000 00000000 ................
000000f0: 00000000 00000000 00000000 00000000 ................
==> printenv
baudrate=115200
ethaddr=00:07:ed:0a:a4:7b
netmask=255.255.255.224
serverip=192.168.209.65
ipaddr=192.168.209.76
stdin=serial
stdout=serial
stderr=serial
Environment size: 153/65532 bytes
==> bdinfo
memstart = 0x01000000
memsize = 0x01000000
flashstart = 0x00000000
flashsize = 0x00800000
flashoffset = 0x00000000
ethaddr = 08:00:3E:26:0A:5B
ip_addr = 192.168.2.21
baudrate = 115200 bps
==>
More information about the U-Boot
mailing list