Hi tns1,
> The Redboot docs indicate that no port exists for Nios boards. If someone
> has one, maybe they could post it.
Redboot is included with ecos.
> The image is smaller than I expected at ~100kB. This is probably smaller than my
> own downloader code, but with more features.
You can reduce the size further by eliminating features you don't need. This is done in
the board's config file. For the PK1C20, the config file is include/configs/PK1C20.h.
For example, you can exclude the hush parser (scripting) and long help:
Undefine CFG_LONGHELP and CFG_HUSH_PARSER.
> The console works but the ethernet does not
Please provide some details.
> Does anyone know of more ports available or what I need to change to get it fully
> working on my kit board?
Unfortunately, I don't have a 1S10 board to test with. But here are some things you
might want to check:
1. Make sure your ethernet environment variables are set correctly. Here's a list variables
you may need to modify/create:
-- serverip - ip address of the tftp server
-- netmask - you're network's netmask
-- gatewayip - the ip address of the primary gateway (if needed).
2. Before trying tftpboot, use the ping command to test connectivity.
3. In include/configs/PK1C20.h:
-- check the ethernet macros to make sure they're correct (for the 1s10 board).
E.g. CONFIG_SMC91111_BASE etc.
-- check the timer macros (CFG_NIOS_TMRxxxx) -- you may be timing out early.
4. In drivers/smc91111.c change the SMC_DEBUG macro to 3. This will provide lots of debug
output to the console.
5. Finally, you can review the config files for the Nios-32 port (DK1C20.h and DK1S10) for
some clues. But be warned .... the Nios-32 config files have been confounded by a well
intended, but poorly executed attempt at making things flexible ;-)
Regards,
--Scott