All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrice Kadionik <kadionik@enseirb.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot and NIOS dk 1s10 board
Date: Mon, 17 Nov 2003 17:48:00 +0100	[thread overview]
Message-ID: <3FB8FBC0.5010700@enseirb.fr> (raw)
In-Reply-To: <03111418170801.23084@pcj86>

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          +
+---------------------------------------------------------------------+

  parent reply	other threads:[~2003-11-17 16:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 13:06 [U-Boot-Users] u-boot and NIOS dk 1s10 board Patrice Kadionik
2003-11-14 14:13 ` Stephan Linz
     [not found]   ` <3FB509B9.5050004@enseirb.fr>
     [not found]     ` <03111418170801.23084@pcj86>
2003-11-17 16:48       ` Patrice Kadionik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-14 13:48 Scott McNutt
2003-11-17 18:40 Scott McNutt
2003-11-18  8:27 ` Stephan Linz
2003-11-18  9:17   ` Patrice Kadionik
2003-11-18 10:23     ` Stephan Linz
2003-11-18 14:13 Scott McNutt
2003-11-18 15:21 ` Stephan Linz
2003-11-18 15:49   ` Wolfgang Denk
2003-11-19  7:36     ` Stephan Linz
2003-11-19  9:01       ` Wolfgang Denk
2003-11-19  9:37         ` Stephan Linz
2003-11-19 10:04           ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB8FBC0.5010700@enseirb.fr \
    --to=kadionik@enseirb.fr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.