[U-Boot] Network Packet Buffers: raspberrypi: variable uchar *net_rx_packets[PKTBUFSRX] in net/net.c

Duncan Hare dh at synoia.com
Mon Apr 23 02:54:02 UTC 2018


From: Simon Glass <sjg at chromium.org>


 To: Duncan Hare <dh at synoia.com> 
Cc: Joe Hershberger <joe.hershberger at ni.com>; U-Boot Mailing List <u-boot at lists.denx.de>
 Sent: Sunday, April 22, 2018 1:15 PM
 Subject: Re: Network Packet Buffers: raspberrypi: variable uchar *net_rx_packets[PKTBUFSRX] in net/net.c
   
Hi Duncan,

>On 17 April 2018 at 12:59, Duncan Hare <dh at synoia.com> wrote:
>> Simon
>>
>> Is it possible to modify the network driver for the raspberry pi to use
>> the buffer pool defined in net.c?
>>
>> It appears to have a single buffer, defined in the driver.
>>
>> In addition the buffer pool should be defined in memory outside the
>> u-boot image. With the current definition is the buffer pool a
>> part of the u-boot image?

>Are you referring to the USB driver? If so, which one? Normally the buffers are in BSS if they are not allocated with malloc(). So the buffers are not in the U-Boot image in flash, >but do take up space in RAM at run-time after relocation.
Do not recall the filename of the driver. 

>Regards,
>Simon
Hi Simon
Ethernet driver. But it might also be the usb driver . I don't know the detail at that level of the raspberry soc.
 Duncan Hare

714 931 7952


   


More information about the U-Boot mailing list