Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-03-04 Thread Alistair Francis
On Wed, Mar 4, 2020 at 3:00 PM Palmer Dabbelt wrote: > > On Sun, 16 Feb 2020 05:55:17 PST (-0800), bmeng...@gmail.com wrote: > > At present the board serial number is hard-coded to 1, and passed > > to OTP model during initialization. Firmware (FSBL, U-Boot) uses > > the serial number to generate

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-03-04 Thread Palmer Dabbelt
On Sun, 16 Feb 2020 05:55:17 PST (-0800), bmeng...@gmail.com wrote: At present the board serial number is hard-coded to 1, and passed to OTP model during initialization. Firmware (FSBL, U-Boot) uses the serial number to generate a unique MAC address for the on-chip ethernet controller. When

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-03-03 Thread Bin Meng
Hi Alistair, On Tue, Mar 3, 2020 at 8:07 AM Alistair Francis wrote: > > On Mon, Feb 24, 2020 at 9:02 PM Bin Meng wrote: > > > > Hi Alistair, > > > > On Tue, Feb 25, 2020 at 5:14 AM Alistair Francis > > wrote: > > > > > > On Sun, Feb 16, 2020 at 5:56 AM Bin Meng wrote: > > > > > > > > At

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-03-02 Thread Alistair Francis
On Mon, Feb 24, 2020 at 9:02 PM Bin Meng wrote: > > Hi Alistair, > > On Tue, Feb 25, 2020 at 5:14 AM Alistair Francis wrote: > > > > On Sun, Feb 16, 2020 at 5:56 AM Bin Meng wrote: > > > > > > At present the board serial number is hard-coded to 1, and passed > > > to OTP model during

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-02-24 Thread Bin Meng
Hi Alistair, On Tue, Feb 25, 2020 at 5:14 AM Alistair Francis wrote: > > On Sun, Feb 16, 2020 at 5:56 AM Bin Meng wrote: > > > > At present the board serial number is hard-coded to 1, and passed > > to OTP model during initialization. Firmware (FSBL, U-Boot) uses > > the serial number to

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-02-24 Thread Alistair Francis
On Sun, Feb 16, 2020 at 5:56 AM Bin Meng wrote: > > At present the board serial number is hard-coded to 1, and passed > to OTP model during initialization. Firmware (FSBL, U-Boot) uses > the serial number to generate a unique MAC address for the on-chip > ethernet controller. When multiple QEMU

Re: [PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-02-22 Thread Bin Meng
On Sun, Feb 16, 2020 at 9:55 PM Bin Meng wrote: > > At present the board serial number is hard-coded to 1, and passed > to OTP model during initialization. Firmware (FSBL, U-Boot) uses > the serial number to generate a unique MAC address for the on-chip > ethernet controller. When multiple QEMU

[PATCH v2] riscv: sifive_u: Add a "serial" property for board serial number

2020-02-16 Thread Bin Meng
At present the board serial number is hard-coded to 1, and passed to OTP model during initialization. Firmware (FSBL, U-Boot) uses the serial number to generate a unique MAC address for the on-chip ethernet controller. When multiple QEMU 'sifive_u' instances are created and connected to the same