Forum Discussion
Altera_Forum
Honored Contributor
20 years agoKen,
I've worked through figuring out the majority of this process so far. The section listed in my PTF for configurations page0-page2 are the DSP Development Board's method for selecting a predefined user image section upon power-up. These are selected via a DIP switch. I will choose one of these for my filesystem and set the dipswitch accordingly. As for running through your command line procedure, things are falling into place. The romfs is generated, and I can convert that over to a flash file. However, doing so with the following command: [SOPC Builder]$ bin2flash --input=romfs.bin --base=<base address of flash> --output=romfs.flash --location=0x800000 I am unsure if the <base address of flash> refers to the base addy of the flash programmer or the base addy of flash located in the target hardware for the filesystem. In the design itself, the core, I have this as 0x000000 but in the flash programmer design it's 0x1000000. The flash programmer manual lists this as the "Base address of the flash in your system." Advice there? I am also replacing the location addy with 0x500000, since that is the beginning of my page0 config. Keeping my fingers crossed here, in hope that I will soon see a response from envoking the nios2-terminal command. update Actually, I'm pretty sure things are going the right way, after using the base address from the flash programmer. I know you mentioned in your post, Ken, that it was the flash programmer's base addy...just wanted to make perfectly sure. There's now a response out of Linux, taking me as far as the "Kernel command line: root=/dev/mtdblock0 ro" command on boot-up. However, it stops there and reboots, over and over. Could this be due to one of the DeviceDriver/MTD settings in the kernel config? I checked through an earlier post, where you mentioned it could be related to an incorrect setting for the reset addy in flash and the exception addy in sdram. Those look correct to me. Thanks again for your attention - I can see the light at the end of the tunnel here. - Matt