Re: How to retrieve cpu info from u-boot fucntion?

2024-09-02 Thread Sourabh Hegde Ramu
d/raspberrypi/rpi/rpi.c there's a > >> set_usbethaddr which calls a msg_get_mac_address to request a MAC from > >> the RPi firmware, I suspect that may work for your needs. > >> > >> Peter > >> > >> > Thanks in advance > >> > &g

Re: How to retrieve cpu info from u-boot fucntion?

2024-08-28 Thread Sourabh Hegde Ramu
ddr which calls a msg_get_mac_address to request a MAC from > the RPi firmware, I suspect that may work for your needs. > > Peter > > > Thanks in advance > > > > On Wed, Jun 19, 2024 at 9:11 AM Sourabh Hegde Ramu < > hrsourabh1...@gmail.com> > > wrote:

Re: How to retrieve cpu info from u-boot fucntion?

2024-08-28 Thread Sourabh Hegde Ramu
Sourabh Hegde Ramu wrote: > Hello, > > Currently, I am using the MAC address from eth_get_ethaddr() function to > calculate a hash value. But, I would like to replace this with a more > unique device info such as cpuid or other values. But I could not find any > function that can

How to retrieve cpu info from u-boot fucntion?

2024-06-19 Thread Sourabh Hegde Ramu
Hello, Currently, I am using the MAC address from eth_get_ethaddr() function to calculate a hash value. But, I would like to replace this with a more unique device info such as cpuid or other values. But I could not find any function that can retrieve cpu info. Can anyone please point me in the c

Does u-boot support USB CCID communication?

2024-05-08 Thread Sourabh Hegde Ramu
Hello, I wanted to know if u-boot can communicate with CCID compliant smartcards or not (with a USB-HSM device). I couldn't find any documents related to this online. USB support seems to be limited within u-boot. Can anyone please let me know if they have experimented with this? Thanks in advan

How to handle multiple boot scripts within boot partition?

2024-03-19 Thread Sourabh Hegde Ramu
Hello, I have a question regarding the loading of boot.scr file by u-boot. I am working on Raspberry pi-u-boot setup and would like to store multiple boot scripts in the boot partition. For example, what happens when I have multiple files like boot-rpi4.scr, boot-rpi3.scr in the boot partition? Ho

Re: Raspberry Pi 3b Plus USB-Ethernet lan78xx_eth address not set

2024-02-25 Thread Sourabh Hegde Ramu
Hi Peter, USB_ETHER_LAN78XX is already enabled in the defconfig for Pi 3b plus. But the eth_get_ethaddr is returning null https://github.com/u-boot/u-boot/blob/1a66a7768af7e8106c2cd93a19f4013877fb85ae/include/net.h#L199 Do you know why this is not handled? On Sun, Feb 25, 2024, 14:49 Peter Robi

Re: Raspberry Pi 3b Plus USB-Ethernet lan78xx_eth address not set

2024-02-24 Thread Sourabh Hegde Ramu
sage shows lan78xx_eth. On Sun, Feb 25, 2024, 06:50 Anand Moon wrote: > Hi, > > On Sat, 24 Feb 2024 at 01:56, Sourabh Hegde Ramu > wrote: > > > > Hello, > > > > I have a Raspberry Pi 3B Plus which I want to integrate with U-boot > > (v2023.10) . > &

Raspberry Pi 3b Plus USB-Ethernet lan78xx_eth address not set

2024-02-23 Thread Sourabh Hegde Ramu
Hello, I have a Raspberry Pi 3B Plus which I want to integrate with U-boot (v2023.10) . I am using rpi_3_32b_defconfig to generate u-boot.bin. But while booting I am getting below error Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In:serial,usbkbd Out: serial,v