Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-11-04 Thread Simon Glass
Hi Alex, On 22 October 2018 at 12:32, Alexander Graf wrote: > > > > > Am 22.10.2018 um 18:49 schrieb Simon Glass : > > > > Hi Alex, > > > >> On 19 October 2018 at 01:27, Alexander Graf wrote: > >> > >> > >>> On 19.10.18 05:25, Simon Glass wrote: > >>> Hi Alex, > >>> > On 16 October 2018 at

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-22 Thread Alexander Graf
> Am 22.10.2018 um 18:49 schrieb Simon Glass : > > Hi Alex, > >> On 19 October 2018 at 01:27, Alexander Graf wrote: >> >> >>> On 19.10.18 05:25, Simon Glass wrote: >>> Hi Alex, >>> On 16 October 2018 at 06:55, Alexander Graf wrote: > On 15.10.18 16:17, Simon Glass wrot

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-22 Thread Simon Glass
Hi Alex, On 19 October 2018 at 01:27, Alexander Graf wrote: > > > On 19.10.18 05:25, Simon Glass wrote: >> Hi Alex, >> >> On 16 October 2018 at 06:55, Alexander Graf wrote: >>> >>> >>> On 15.10.18 16:17, Simon Glass wrote: At present this code casts addresses to pointers so cannot be used w

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-19 Thread Alexander Graf
On 19.10.18 05:25, Simon Glass wrote: > Hi Alex, > > On 16 October 2018 at 06:55, Alexander Graf wrote: >> >> >> On 15.10.18 16:17, Simon Glass wrote: >>> At present this code casts addresses to pointers so cannot be used with >>> sandbox. Update it to use mapmem instead. >>> >>> Signed-off-by:

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-18 Thread Simon Glass
Hi Alex, On 16 October 2018 at 06:55, Alexander Graf wrote: > > > On 15.10.18 16:17, Simon Glass wrote: >> At present this code casts addresses to pointers so cannot be used with >> sandbox. Update it to use mapmem instead. >> >> Signed-off-by: Simon Glass > > Unfortunately this won't work. The

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-16 Thread Alexander Graf
On 15.10.18 16:17, Simon Glass wrote: > At present this code casts addresses to pointers so cannot be used with > sandbox. Update it to use mapmem instead. > > Signed-off-by: Simon Glass Unfortunately this won't work. The SMBIOS2 structure itself contains a physical pointer to the target addre

[U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-15 Thread Simon Glass
At present this code casts addresses to pointers so cannot be used with sandbox. Update it to use mapmem instead. Signed-off-by: Simon Glass --- Changes in v11: - Fix the EFI code that has since been added and relies on broken behaviour Changes in v9: None Changes in v7: None Changes in v5: Non