2011/2/27 SÅ‚awomir Cygan <[email protected]>:
> On Sun, Feb 27, 2011 at 2:04 PM, Florian Fainelli <[email protected]> wrote:
>> Hello,
>>
>> On Sunday 27 February 2011 13:12:03 Madhavi Manchala wrote:
>>> Dear All,
>>>
>>> Where can I find the HAL (Hardware Abstraction Layer) code in the
>>> OpenWRT sources? I checked out the trunk through svn. I need to change
>>> the RAM, FLASH, UART and MCU details in the HAL code in order to
>>> support our device.
>>
>> You have not mentionned which target you are talking about, which one are
>> working on?
>> --
>> Florian
>> _______________________________________________
>> openwrt-devel mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>
> Usually code for "platform devices" initialization is placed in
> patches and files in apropriate target directory.
>
> For example for devices with Ralink RT3050 target is "ramips" and
> target directory is trunk/target/linux/ramips/.
> Platform devices are configured by board-specific code in
> trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-* files,
> than initialised in
> trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
> Early serial and ram in
> trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/setup.c
>
> All files from trunk/target/linux/ramips/files are added to lnx
> kernel, than patches from trunk/target/linux/ramips/patches-[kernel
> version] are applied - theese the files you should concentrate on,
> when booting new device.
>
> Lnx kernels does not offer HAL, but instead features like platform
> devices are avaliable

Dear Swalomir Cygan,

Thanks for your useful important information. However, here are my findings.

We are planning to build the OpenWRT to our custom board which is
based on Samsung S3C2510A processor. This is not available under
trunk/target/linux/ directory. However, there is a directory, named
s3c24xx, which is based on Samsung S3C24xx processor. So, what is the
procedure for porting the OpenWRT to my board which is based on the
Samsung s3c2510A processor?

Further information, I extracted the linux-2.6.30-10.tar.bz2 directory
from dl (downloads) directory of the OpenWRT sources. After extracting
also, I did not find any mach- directory which is based on S3C25XX.
Even, I did not find anything about S3C25xx in the latest stable
kernel 2.6.37 also. Then, how can I proceed further for porting the
OpenWRT to my Samsung S3C2510A processor.

Please suggest me.

Thanks and Regards,
Madhavi M.

>
>
> --
> Pozdrawiam,
> Sławomir Cygan
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to