[PATCH 2/5] JFFS2: Import from eCos

Chris Johns chrisj at rtems.org
Sun Sep 15 02:12:08 UTC 2013


Sebastian Huber wrote:
> On 2013-09-14 00:54, Chris Johns wrote:
>> Where is the device support ?
>
> I didn't import the flash device drivers from eCos. See <rtems/jffs2.h>
> in the RTEMS support patch for the device support. The application has
> to provide the flash access operations.
>

Would it make sense to have drivers added to libchip for commonly used 
devices ?

Where can we find a real driver for a real device ? I feel we need real 
drivers as examples in RTEMS.

I do not like the "application" needing to handle this. I think BSPs 
should provide drivers and not applications. The device is specific to a 
board and it is the role of the BSP to handle this sort of thing. If I 
use a BSP that has suitable flash devices I would expect the BSP to 
contain the support. It may be the application that enables and 
configures the support given a correctly working and mapped set of 
drivers from the BSP.

I regretted not providing a real driver interface to the flash memory in 
the flashdisk block device. Having a real device interface means it can 
be opened and managed without the file system, for example erasing or 
testing the devices.

>>
>> Clause 2 concerns me.
>>
>> Is mixing GPLv2+exception and a BSD type license like this ok ?
>>

??

>
> This LICENSE file is part of the Linux import patch.
>

Found it. Thanks.

Do any of the files that contain the reference to the LICENSE file get 
installed ?

Chris



More information about the devel mailing list