[oe] Contents of the "origin/ulf/linux-2.6.30.2" branch. Help with testing wanted.

Ulf Samuelsson ulf.samuelsson at atmel.com
Sat Aug 22 17:45:51 UTC 2009


Marcin Juszkiewicz skrev:
> Dnia środa, 12 sierpnia 2009 o 15:32:50 Ulf Samuelsson napisał(a):
>>> I had to add patch to 2.12 to get rid of -fno-dwarf2-cfi-asm parametr
>>> passed to GCC. Did not tested with 2.13-rc1 as at91.com is not
>>> reachable.
>> Yes, fixed in 2.13-rc1
>> Will send you the source file.
> 
> 2.13-rc1 gaves me non-booting board:
> 
> RomBOOT                                                                                                                                                             
>> *** AT91Bootstrap-2.13-rc1                                                                                                                                        
>> AT45DB642D detected                                                                                                                                               
>> invalidboot                                                                                                                                                       
>> AT45DB642D detected                                                                                                                                               
>> invalidboot                                                                                                                                                       
>> AT45DB642D detected                                                                                                                                               
>> invalidboot                                                                                                                                                       
> 
> Any ideas? I have same problem when 2.12 is used. 1.14 works still.
> 
This is the code that will block your progress.
Can you provide the first 8 dwords of the image you ae trying to load?
Maybe you have not initialized all the trap vectors
or you are doing something valid, but unexpected.

Are you loading something else than U-Boot?

As you see, you can disable the check in your configuration file.

#if	defined(CONFIG_APP_CHECK)
/*------------------------------------------------------------------------------*/
/* \fn    df_is_boot_valid							*/
/* \brief Check that the first bytes of the buffer are valid ARM vectors	*/
/*------------------------------------------------------------------------------*/
static unsigned int df_is_boot_valid(unsigned char *buffer)
{
	int i = 3;
 	/* Verify if the 28 first bytes of the sram correspond to ARM vectors
	   The sixth ARM vector contain the size of the code */
    	while(i < 28)
    	{
		if (i != 23)
		{
			if ((buffer[i] != 0xEA) && (buffer[i] != 0xE5) )
				return FAILURE;
		}
		i+=4;
    	}
	return SUCCESS;
}
#endif

> Regards, 

Have now checked the source:

The 2.13 is based on the 1.13 sources.
	
The 1,14 source code is not available on the Atmel.
I will point that out.

	Differences between the 1 series and the 2 series are:
	1) Kconfig - You can do make <board>_config from OpenEmbedded
		If you want to modify something it is much harder
	2) Init of EBI1 of SAM9263
	3) Bus Matrix Initialization
	4) User reset enabled -but it does not work on the G45!
	5) Not depending on a c library.
		Can be compiled with any gcc compiler,
		not just somehing with newlib.
	etc.

	The 1 series is provided by Atmel in Rousset,
	and I have done the 2 series.
	


-- 
Best Regards
Ulf Samuelsson





More information about the Openembedded-devel mailing list