Re: [yocto] unable to find u-boot config file in existing BSP

2022-11-25 Thread Mistyron


On 11/25/22 13:43, Mistyron via lists.yoctoproject.org wrote:


Hi,

I'm interested in extracting the u-boot config from an existing BSP. 
It does compile u-boot but I cannot find the config file and I 
definitely can invoke bitbake u-boot separately, i.e. there must be a 
.config file somewhere.



I did find the location of the bbapppends:

$ bitbake-layers show-appends | grep boot
u-boot_2021.10.bb:
/home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend 


u-boot_2021.10.bb (skipped):
/home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend

but searching in 
/home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/ 
for "*config*" did not yield any results.


Background: I want to be able to compile u-boot separately with make, 
outside of Yocto and re-use the same configuration.

Can anyone give me any hints?

Thanks,

Ron

--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58637): https://lists.yoctoproject.org/g/yocto/message/58637
Mute This Topic: https://lists.yoctoproject.org/mt/95262552/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] bsp/marvell-cn96xx: enable SFP info sysfs driver

2022-11-25 Thread Ruiqiang Hao
From: Ruiqiang Hao 

sfp-info driver is a sysfs interface to dump SFP eeprom data for the
interface indicated via portm index or eth/lmac pair. It supports t9x
platforms, so enable it for marvell-cn96xx.

Signed-off-by: Ruiqiang Hao 
---
 bsp/marvell-cn96xx/marvell-cn96xx.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.cfg 
b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
index 5e86a8ce..9f079719 100644
--- a/bsp/marvell-cn96xx/marvell-cn96xx.cfg
+++ b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
@@ -156,6 +156,9 @@ CONFIG_MARVELL_UB_GEN_DRIVER=y
 # AVS_RESET
 CONFIG_MARVELL_AVS_RESET=y
 
+# SFP_INFO
+CONFIG_MARVELL_SFP_INFO=y
+
 # FWLOG
 CONFIG_MARVELL_FWLOG=y
 
-- 
2.38.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11955): 
https://lists.yoctoproject.org/g/linux-yocto/message/11955
Mute This Topic: https://lists.yoctoproject.org/mt/95268523/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache yocto-5.15] Add SFP info sysfs driver for marvell-cn96xx

2022-11-25 Thread Ruiqiang Hao
Hi Bruce,

Please help to merge these patches into our linux-yocto repo.

repo:
yocto-kernel-cache
branch:
yocto-5.15

Thanks,
Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11954): 
https://lists.yoctoproject.org/g/linux-yocto/message/11954
Mute This Topic: https://lists.yoctoproject.org/mt/95268522/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] edac: octeontx_edac: add initialization for uninitialized pointer

2022-11-25 Thread Ruiqiang Hao
From: Ruiqiang Hao 

There is one uninitialized pointer member named other_detail in edac
error description, will cause follow error, add initialization steps
for it to fix this error.

Unable to handle kernel NULL pointer dereference at virtual address 

Mem-abort:
  ESR = 0x9605
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x0005
  CM = 0, WnR = 0
user pgtable: 64k pages, 48-bit VAs, pgdp=000118e3b800
[] pgd=, p4d=, 
pud=
Internal error: Oops: 9605 [#1] PREEMPT SMP
Modules linked in:
CPU: 5 PID: 560 Comm: kworker/u48:13 Not tainted 5.15.78-yocto-standard #2
Hardware name: Marvell OcteonTX CN96XX board (DT)
Workqueue: edac-poller octeontx_edac_mc_wq
pstate: 6049 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : edac_raw_mc_handle_error+0x4b4/0x50c
lr : edac_raw_mc_handle_error+0x60/0x50c
sp : 800010ecfc50
x29: 800010ecfc80 x28: 00010adc1440 x27: 00010a7852f0
x26: 00010adc1466 x25: 00010a7852d0 x24: 0001
x23: 891088c8 x22: 00010adc13e8 x21: 00010adc1540
x20: 00010adc1000 x19: 00010adc1440 x18: 
x17:  x16:  x15: 00018adc145d
x14:  x13: 00010adc1462 x12: 2c313d6461656820
x11: 2c303d6c69617420 x10: 0020 x9 : 88ab2ce4
x8 : 0020 x7 :  x6 : 
x5 : 89060220 x4 : 890d4ad8 x3 : 800010ecfd88
x2 : 0001 x1 : 004c x0 : 0001
Call trace:
 edac_raw_mc_handle_error+0x4b4/0x50c
 octeontx_edac_mc_wq+0x128/0x3d0
 process_one_work+0x1dc/0x484
 worker_thread+0x144/0x470
 kthread+0x140/0x15c
 ret_from_fork+0x10/0x20
---[ end trace d8b351eb1e6a9c57 ]---

Signed-off-by: Ruiqiang Hao 
---
 drivers/edac/octeontx_edac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/edac/octeontx_edac.c b/drivers/edac/octeontx_edac.c
index dd5084353add..ec3b3b8604a2 100644
--- a/drivers/edac/octeontx_edac.c
+++ b/drivers/edac/octeontx_edac.c
@@ -251,6 +251,7 @@ static void octeontx_edac_make_error_desc(struct 
cper_sec_mem_err *mem_err,
e->mid_layer = -1;
e->low_layer = -1;
e->syndrome = 0;
+   e->other_detail = "";
 
if (mem_err->validation_bits & CPER_MEM_VALID_ERROR_TYPE)
e->other_detail = mem_err_types[mem_err->error_type];
-- 
2.38.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11953): 
https://lists.yoctoproject.org/g/linux-yocto/message/11953
Mute This Topic: https://lists.yoctoproject.org/mt/95268503/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][linux-yocto v5.15] fix uninitialized pointer for marvell octeon

2022-11-25 Thread Ruiqiang Hao
Hi Bruce,

Please help to merge this patch into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.4/octeon
v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

Thanks,
Ruiqiang


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11952): 
https://lists.yoctoproject.org/g/linux-yocto/message/11952
Mute This Topic: https://lists.yoctoproject.org/mt/95268502/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Thud/Zeus support of Linux "memtester"

2022-11-25 Thread Monsees, Steven C (US) via lists.yoctoproject.org

Does Yocto thud/zeus support the linux "memtester", to find memory subsystem  
faults ?

Whay packages would need to be included to support this utility ?

Thanks,
Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58636): https://lists.yoctoproject.org/g/yocto/message/58636
Mute This Topic: https://lists.yoctoproject.org/mt/95264132/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] unable to find u-boot config file in existing BSP

2022-11-25 Thread Mistyron

Hi,

I'm interested in extracting the u-boot config from an existing BSP. It 
does compile u-boot but I cannot find the config file and I definitely 
can invoke bitbake u-boot separately, i.e. there must be a .config file 
somewhere.
Background: I want to be able to compile u-boot separately with make, 
outside of Yocto and re-use the same configuration.

Can anyone give me any hints?

Thanks,

Ron

--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58635): https://lists.yoctoproject.org/g/yocto/message/58635
Mute This Topic: https://lists.yoctoproject.org/mt/95262552/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-