From: Simon Glass <[email protected]>
To: Duncan Hare <[email protected]> Cc: Joe Hershberger <[email protected]>; U-Boot Mailing List <[email protected]> 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 <[email protected]> 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 _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

