[U-Boot-Users] u-boot and NIOS dk 1s10 board

Patrice Kadionik
2003-11-17T16:48:00Z

Hi Stephan,

It works now...in fact, my reference design for STRATIX configuration
was not similar to the IO mapping used by u-boot for NIOS...
It works with the Altera's "standard 32" reference design (with the
.SREC in the CDKNIOS project and after u-boot recompilation too). I'll
write a little doc on the IO and memory mapping to respect in order to
used u-boot...
My student will work on the u-boot APEX port...just an adaptation I think...
I may be a good idea that the stratix 1S10 board appears as its own
board and not as a cyclone board in the u-boot distro...
My next step is to see is the standard 32 reference design is OK for
uClinux support in order to freeze the hardware....
Many thanks;
Pat

Stephan Linz wrote:

>Am Freitag, 14. November 2003 17:58 schrieben Sie:
>
>
>>Hi Stephan and Scott;
>>I've just quick and dirty downloaded the .srec contained in the RPM
>>package from the Stephan's CDK4NIOS project...and seen what it happens...
>>
>>
>
>Note: Stephan == Stephan (maintainer of CDK4NIOS :-)
>
>Further, I think the included .srec contained in the RPM are untested !!! You
>should rebuild from sources (already patched and installed under
>/opt/cdk4nios/src/u-boot-$version).
>
>
>
>>no traces on my screen...
>>
>>
>
>Hm, Do you have upload u-boot.bin to address 0x40000 (I think it's default
>for nios-run -r u-boot.srec) ?
>
>Do you have upload the standard32 NIOS CPU image to user area (flash
>0x600000) and start it by press SW10 (Reset. Config) ?
>
>
>
>>I've printed all the doc on u-boot and work on them during the week end.
>>I have Altera's APEX board. One of my student 'll work on the u-boot
>>port for this board...u-boot will be available for each Altera's board :-)
>>
>>
>
>Great, the APEX port stands on my todo list. Nice to read this .. In the next
>few weeks I will get a old APEX board. The port should coming fast, because
>the NIOS standard32 CPU is nearly equal to Stratix/Cyclone.
>
>
>
>>If Scott has ported uClinux to NIOS, I'm very interested by this
>>port...at this time, it only exists a commercial port form
>>Microtronix...and I prefer having a GPL solution...
>>
>>Cheers,
>>Pat.
>>
>>Stephan Linz wrote:
>>
>>
>>>Am Freitag, 14. November 2003 14:06 schrieb Patrice Kadionik:
>>>
>>>
>>>>hi all,
>>>>I'm trying to use u-boot on a altera's stratix 1S10 board....
>>>>I've downloaded the stephan's RPM u-boot port for this board...and
>>>>downloaded intoo my board...but it doesn't work
>>>>has anyone succeded to boot u-boot on this board?
>>>>
>>>>
>>>Yes, I did. It works good to me.
>>>
>>>
>>>
>>>>is the port incorporated in the 1.0.0 u-boot version...I just see the
>>>>cyclone board....
>>>>
>>>>
>>>Sorry there was no time and no very important reason to release the
>>>Stratix pacht to u-boot cvs (I think, I can do it now :-), because there
>>>are no significant differences between Cyclone and Stratix in context of
>>>current U-Boot code. Further this patch depends on a few outstanding
>>>patches, one for a DK1C20 configuration bug fix and the other one for the
>>>LAN91C111 ethernet driver (see:
>>>http://sourceforge.net/mailarchive/forum.php?thread_id=3410088&forum_id=12
>>>898).
>>>
>>>
>>>Here the patches you need against current 1.0.0:
>>>
>>>1.) LAN91C111 ethernet driver
>>>
>>>Patch: u-boot-smc91111_fix.patch.bz2
>>>State: waiting of a successful validation and cross verification from
>>>Richard
>>>
>>>- bug fix: change type of smc_mac_addr[] from signed to unsigned
>>>(important) - bug fix: LED configuration (defines in header)
>>>- bug fix: write to right PHY register (PHY_MASK_REG)
>>>- exclude version string for non-debug versions (saves memory)
>>>
>>>
>>>2.) DK1C20 configuration bug fix
>>>
>>>Patch: u-boot-dk1c20_cfg_fix.patch.bz2
>>>State: waiting of CVS inclusion by Wolfgang
>>>
>>>see:
>>>http://sourceforge.net/mailarchive/forum.php?thread_id=3397431&forum_id=12
>>>898
>>>
>>>Wolfgang, could you put it into the CVS repository?
>>>
>>>
>>>3.) DK1S20 Stratix support
>>>
>>>Patch: u-boot-dk1s10_support.patch.bz2
>>>State: not released at u-boot list -- I'm not sure about (if finished or
>>>not)
>>>
>>>For Stratix I've copied include/configs/DK1C20.h to
>>>include/configs/DK1S10.h, change CONFIG_DK1C20 to CONFIG_DK1S10, and
>>>expanded main Makefile to new board configuration DK1S10_config. For this
>>>new board configuration Cyclon's board directory board/dk1c20 will be
>>>used too. In it I've expand checkboard() with a second board-ID string.
>>>
>>>You can download all the patches from CDK4NIOS project file list at
>>>sourceforge.net:
>>>
>>>http://sourceforge.net/project/showfiles.php?group_id=81497
>>>(go to the end, looking for resources --> patches)
>>>
>>>
>>>
>>>>Is anyone try to port ?Clinux on NIOS ? I'm currently working on this
>>>>
>>>>
>>>Hm, I think Scott McNutt works with uClinux on NIOS. Ask him, he is the
>>>maintainer of NIOS U-Boot port.
>>>
>>>
>>>
>>>>point and having a linux bootloader is the first step...
>>>>
>>>>
>>>Yes, and U-Boot works already.
>>>
>>>
>>>Best Regards
>>>
>>>
>
>
>

--
Patrice Kadionik. F6KQH / F4CUQ
-----------

+---------------------------------------------------------------------+
+"Tout doit etre aussi simple que possible, pas seulement plus simple"+
+---------------------------------------------------------------------+
+ Patrice Kadionik http://www.enseirb.fr/~kadionik +
+ ENSEIRB fax : +33 5.56.37.20.23 +
+ PO BOX 99 voice : +33 5.56.84.23.47 +
+ 33402 TALENCE Cedex http://www.enseirb.fr +
+ FRANCE mailto:kadionik at enseirb.fr +
+---------------------------------------------------------------------+