Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThe problem concerning uClinux uploading to UP3
Hello everyone!I need your help now... The problem is concerning uClinux uploading to UP3 board. Here is my developing enviornment: target board: UP3 Education Kit Cyclone EP...
Altera_Forum
Honored Contributor
21 years agoHi:
Thank you very very much! Scott:) My board is UP3,with Cyclone EP1C6Q240(with CPU 48MHz),TC58FVT160 Flash Memory 2MB(1M*16b),1S42S16400B SDRAM 8MB,128KB(64K*16b) SRAM. So i should create a suitable u-boot for this board,because u-boot-nios2-src just has the pci5441 and pk1c20. And i should modify the sample files, and fit it to UP3. 1:<target_board>.h include/configs/up3.h 2:<target_board>.c board/up3/up3.c 3:flash driver board/up3/flash.c The first problem is that i can't find the up3-flash datasheet(TC58FVT160), to use in the flash.c. No help in the UP3 munual reference. And in the work of creating up3.h,just getting little info from the SOPC Builder,a exiting up3_board example.Just like the below info: CPU: Clock 48.0MHz Base 0x00000000 End 0x000007FF jtag_uart: JTAG UART Base 0x00000800 End 0x00000807 ext_ram:Sram_UP3 Base 0x00020000 End 0x0003FFFF So the second problem is where can I find some details using for this u-boot work,such as, CFG_Nios_CONSOLE,CF G_GBL_DATA_OFFSET,CFG_Nios_TMRBASE,CFG_Nios_TMRIRQ and so on, because the UP3 munual reference doesn't have this data. Thank you again~! Regards! Justin