Forum Discussion
Altera_Forum
Honored Contributor
20 years agouClinux boot from epcs ?
If someone like me wants to run uCLinux on a Nios2 but the fpga must not be a bga type then the biggest fpga available is EP2C20 with QFP 240 pins. That one can be handsoldered http://forum.niosforu...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by smcnutt@Feb 28 2006, 09:33 AM hi jdhar,
the altera boot copier is a bare-bones crt0 implementation. it does exactly what you
need it to do ... in only a handful of instructions ... nothing more. u-boot however, is
a full-featured boot-loader[/b], not just a "a nice little boot copier". In addition to the features wgoossens mentioned, u-boot also supports the following: - Command line interface via JTAG/UART. - Full epcs support read/write/program/protect. - Serial port download using kermit. - File download via Ethernet using TFTP and/or NFS. - Scripting (scripts can be run automatically at startup). - Flash programming (e.g. download your file via NFS, then program into your flash). - BOOTP/DHCP client support. - Memory read, write, fill, compare and tesing (several test flavors available). - RARP - Support for JFFS2, CRAMFS, DOS, etc. (including multiple partitions). - Support for SPI, MMC, CompactFlash, etc. The list goes on ... but you get the picture ... if all you need is crt0 -- use the Altera boot-copier. If you want (or need) to do more than that you can use u-boot ... or redboot ... or something similar. In any case, I highly recommend you give u-boot (and/or redboot) a test drive. There are many features you may find very handy ... and there's lots of code you can hoist into your own loaders as well. Regards, --Scott <div align='right'><{post_snapback}> (index.php?act=findpost&pid=12988) --- Quote End --- [/b] --- Quote End --- Excellent info smcnutt; I believe the reason I didn't give Uboot a try before is because I saw a lot of board-specific stuff (meant for the Altera Eval boards), while I mostly work in custom hardware. I will admit that I didn't look in that much detail, so I could have missed it, but I will search around and give it a try. There's no such thing as too many options in my book http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif