[U-Boot] Problem with mounting a jffs2 partition on flash.

Marek Vasut marex at denx.de
Fri Feb 12 16:44:38 CET 2016


On 02/12/2016 04:39 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
> Hi Marek,

Hi Denis,

>> That's fine, just check if you did some modifications to the altera fork
>> of u-boot. Especially interesting would be PLL/pinmux/DRAM config.
> 
> I tried to launch altera branch from here: https://github.com/altera-opensource/u-boot-socfpga.
> It didn't work out of the box as well.
> I will try to extract the difference in source codes and will let you know about the results.

Check this script, it's used to extract the configuration files from
Quartus project. The filenames it uses are the same as in your u-boot
source from altera, so that should give you an idea for where to look:

http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=blob;f=arch/arm/mach-socfpga/qts-filter.sh

If you collect these files, you can use the script to generate cleaned
up headers for mainline U-Boot , load it into
board/altera/socfpga/arria5_socdk/qts/ and recompile. That might fix
your boot problem.
Of course, to implement an official port, you should not hack the AV
SoCDK board file that way, it's only for a quick test.


More information about the U-Boot mailing list