Altera_Forum
Honored Contributor
20 years agoWhat is wrong with uClinux boot?
Hello,
When I port the uClinux to my cyclone board, there has something wrong. I do not know clearly where error occur, just paste the result. Please help me. Here is my HW/SW entironment. -- Microtronix Cyclone Board. -- Quartus II 4.2 -- Nios II 1.1 eval edition -- Mtx uClinux 1.3 ------------------------------------------------------ -- My Nios II System : FLASH/SRAM/SDRAM/OpenCores MAC/uart/jtag-uart/ Nios II/e Core and some pio. -- Note : I use Nios II/e Core. ------------------------------------------------------ Here is my Step. 1. I compiled the project under Quartus, then download the .sof to the board and run the memtest.c, the SRAM and FLASH run OK. 2. I creat a Kernel Project, make my own configuration. (1) Processor type and feature---> Platform--->[Y] Microtronix Cyclone board support (2) Device Driver--->ATA/ATAPI/MFM/RLL support---> [N] ATA/ATAPI/MFM/RLL support (3) Device Driver--->Networking support--->Ethernet <10 or 100Mbit>---> [Y] Opencores Emac support (4) Device Driver---> Character devices----> Serial drivers---> [Y] Nios Serial support [N] Support for console on Nios UART [Y] Altera JTAG UART support [Y] Support for console on ALtera JTAG UART (5) Leave others default, Save and exit. (6) Build Project. (7) When upLoad vmlinux.bin(ByteBlasterII[LPT1]), some text display in console. ---------------------------------------------------------------------------------------------------------------- "------------------------------------------------ Microtronix Linux Extensions Version 1.3, Built December 30th, 2004 ------------------------------------------------ WARNING: Default charset GBK not supported, using ISO-8859-1 instead Expected integer value for option 'base' Value was: '' Using default value: -1 Mar 16, 2005 7:21:33 PM - (??) nios2-flash-programmer: No flash base specified nios2-flash_programmer is a utility for programming various types of data into flash memory connected to an Altera FPGA. usage: nios2-flash-programmer [--silent] [--debug] [--sof=file] [--log=file] [--cable=cable name] [--device=device number] [--verbose] [--help] [--relocate] [--instance=node index] [--input=file] [--quiet] [--erase] [--nothing] [--epcs] [--base=addr] Options may be specified in any order. --base=<addr> flash base address --cable=<cable name> JTAG cable name --debug debug mode --device=<device number> JTAG index of FPGA --epcs program an epcs flash --erase completely erase the flash --help print this message --input=<file> input Flash file to program --instance=<node index> OCI node index --log=<file> file for logging progress --nothing only download flash programmer design and verify communication --quiet only print errors --relocate relocate code following a SOF (EPCS mode only) --silent silent mode - same as quiet --sof=<file> location of target flash programmer design SOF. --verbose lots of interesting information The nios2-flash-programmer utilizes a special target design to program the flash memory on a board. This design is seamlessly downloaded to the target by nios2-flash-programmer when using a Nios Development Board. If you wish to program flash on a custom board, you must first create your own flash programmer target design. Please refer to the "Nios II Flash Programmer User Guide" for details of this procedure. You may use the --erase option either stand-alone, or with an input file to program. If used with an input file, the flash will be completely erased before programming. The --relocate option is used with EPCS serial configuration devices. If data has already been programmed into the EPCS device, it will be relocated at a higher address to make room for the new data being programmed. WARNING: Default charset GBK not supported, using ISO-8859-1 instead" ---------------------------------------------------------------------------------------------- What is wrong? and Has my vmlinux.bin been uploaded? Can some tell me? Thank you very much.