Support for BCM953012HR board?
How do I build the images for BCM953012HR (Broadcom Northstar Reference board)?
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
Hello,
Quoted 2 lines · On Wed, 13 Jan 2021 19:22:12 -0600 (CST) scdrj <[email protected]> wrote:
How do I build the images for BCM953012HR (Broadcom Northstar Reference board)?
You need to create a Buildroot configuration that matches your platform, i.e that defines the target CPU, the Linux kernel version and configuration, the filesystem image format you need, etc. Once this configuration is defined (which is obviously the difficult part), build it with "make" and enjoy the build results in output/images/.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi,
Quoted 2 lines · scdrj
How do I build the images for BCM953012HR (Broadcom Northstar Reference board)?
I took care of adding upstream Linux support for a few Northstar hw components. Current support is quite complete except for:
1. Hardware NAT acceleration
2. Broadcom SoftMAC wireless chipsets
I planned to add buildroot support for Northstar boards but it takes many months to get my patches reviewed.
My initial WiFi firmware patch was accepted after 5 months:
[PATCH] package/linux-firmware: add options for Broadcom BCM4366 Currently I'm waiting for lzma-alone decision:
[PATCH] package/lzma-alone: new package
Once I get lzma-alone somehow merged I'm planning to add Northstar boards support.
Until that you can check OpenWrt project. It has target called "bcm53xx" that handles Northstar devices. There are only few downstream patches needed to get those devices running:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/bcm53xx/patches-5.4;hb=HEAD
Signature · 1 line
Rafa?
Quoted 22 lines · Rafa? Mi?ecki
Hi,
Quoted 2 lines · scdrj
How do I build the images for BCM953012HR (Broadcom Northstar Reference board)?
I took care of adding upstream Linux support for a few Northstar hw components. Current support is quite complete except for:
1. Hardware NAT acceleration
2. Broadcom SoftMAC wireless chipsetsI planned to add buildroot support for Northstar boards but it takes many months to get my patches reviewed.
My initial WiFi firmware patch was accepted after 5 months:
[PATCH] package/linux-firmware: add options for Broadcom BCM4366 Currently I'm waiting for lzma-alone decision:
[PATCH] package/lzma-alone: new packageOnce I get lzma-alone somehow merged I'm planning to add Northstar boards support.
Quoted 9 lines
Until that you can check OpenWrt project. It has target called "bcm53xx" that handles Northstar devices. There are only few downstream patches needed to get those devices running:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/bcm53xx/patches-5.4;hb=HEAD
--
Rafa?
Thanks for your valuable suggestion. I have checked the targets supported by openwrt for Northstar processors. It provides kernel and rootfs builds for Northstar based boards. (tried MR32)
I am unable to find the u-boot build for the Northstar based SoCs. How do I enable the u-boot build as well for any of these boards?
It would be great to see the support for Northstar boards in the buildroot
as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210114/cc5899c6/attachment.html>
Quoted 26 lines · scd rjcom
Quoted 25 lines · Rafa? Mi?ecki
Quoted 2 lines · scdrj
How do I build the images for BCM953012HR (Broadcom Northstar Reference board)?
I took care of adding upstream Linux support for a few Northstar hw components. Current support is quite complete except for:
1. Hardware NAT acceleration
2. Broadcom SoftMAC wireless chipsetsI planned to add buildroot support for Northstar boards but it takes many months to get my patches reviewed.
My initial WiFi firmware patch was accepted after 5 months:
[PATCH] package/linux-firmware: add options for Broadcom BCM4366 Currently I'm waiting for lzma-alone decision:
[PATCH] package/lzma-alone: new packageOnce I get lzma-alone somehow merged I'm planning to add Northstar boards support.
Until that you can check OpenWrt project. It has target called "bcm53xx" that handles Northstar devices. There are only few downstream patches needed to get those devices running:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/bcm53xx/patches-5.4;hb=HEAD
Quoted 6 lines
Quoted 2 lines
--
Rafa?Thanks for your valuable suggestion. I have checked the targets supported by openwrt for Northstar processors. It provides kernel and rootfs builds for Northstar based boards. (tried MR32) I am unable to find the u-boot build for the Northstar based SoCs. How do I enable the u-boot build as well for any of these boards?
I've never seen Northstar device using u-boot. I heard about some rough plans for porting u-boot to it, but I thought they got abonded.
Can you provide bootloader log from your board?
Quoted 1 line
It would be great to see the support for Northstar boards in the buildroot as well.
Signature · 1 line
Rafa?
Quoted 42 lines · Rafa? Mi?ecki
Quoted 3 lines · scd rjcom
Quoted 2 lines · Rafa? Mi?ecki
Quoted 1 line · scdrj
How do I build the images for BCM953012HR (Broadcom Northstar
Reference
Quoted 15 lines
Quoted 15 lines
Quoted 1 line
board)?
I took care of adding upstream Linux support for a few Northstar hw components. Current support is quite complete except for:
1. Hardware NAT acceleration
2. Broadcom SoftMAC wireless chipsetsI planned to add buildroot support for Northstar boards but it takes many months to get my patches reviewed.
My initial WiFi firmware patch was accepted after 5 months:
[PATCH] package/linux-firmware: add options for Broadcom BCM4366 Currently I'm waiting for lzma-alone decision:
[PATCH] package/lzma-alone: new packageQuoted 7 lines
Quoted 7 lines
Once I get lzma-alone somehow merged I'm planning to add Northstar boards support.
Until that you can check OpenWrt project. It has target called "bcm53xx" that handles Northstar devices. There are only few downstream patches needed to get those devices running:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/bcm53xx/patches-5.4;hb=HEAD
Quoted 6 lines
Quoted 3 lines
--
Rafa?Thanks for your valuable suggestion. I have checked the targets
supported by openwrt for Northstar processors. It provides kernel and rootfs builds for Northstar based boards. (tried MR32)
Quoted 1 line
I am unable to find the u-boot build for the Northstar based SoCs. How
do I enable the u-boot build as well for any of these boards?
I've never seen Northstar device using u-boot. I heard about some rough plans for porting u-boot to it, but I thought they got abonded.
Quoted 9 lines
Can you provide bootloader log from your board?
Quoted 1 line
It would be great to see the support for Northstar boards in the
buildroot as well.
--
Rafa?
Please find the attached bootlog (This is a custom board, based on
BCM53016).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210114/830b379e/attachment.html>
-------------- next part --------------
U-Boot 2012.10
DEV ID= 0000cf12
SKU ID = 0
OTP status: eca00018
Setting the PCU_AOPC_CONTROL_OFFSET
Reading the PCU_AOPC_CONTROL_OFFSET default: 1
Writing the PCU_AOPC_CONTROL_OFFSET with 31 of 1: 80000001
Writing the PCU_AOPC_CONTROL_OFFSET with 31 of 0: 80000000
Writing the PCU_AOPC_CONTROL_OFFSET with 31 of 1: 80000001
MEMC 0 DDR speed = 800MHz
Log: ddr40_phy_init.c: Configuring DDR Controller PLLs
Log: offset = 0x18010800
Log: VCO_FREQ is 1600 which is greater than 1Ghz.
Log: DDR Phy PLL polling for lock
Log: DDR Phy PLL locked.
Log: ddr40_phy_init::DDR PHY step size calibration complete.
Log: ddr40_phy_init:: Virtual VttSetup onm CONNECT=0x01CF7FFF, OVERRIDE=0x00077FFF
Log: ddr40_phy_init:: Virtual Vtt Enabled
Log: DDR Controller PLL Configuration Complete
PHY register dump after DDR PHY init
PHY register dump after mode register write
SHMOO VER 1.13
PKID07DC06011801080000000000001A103F01000000
S300001A3
00001070
RDLYW0 00000005
RDENW0 00000044
RDQSW0
0000000000111111111122222222223333333333444444444455555555556666
012345678901234567890123456789012345678901234567890123456789012300 -------++++++++++++++++++++X++++++++++++++++++++---------------- 01 -----------+++++++++++++++++++++X++++++++++++++++++++----------- 02 ------------+++++++++++++++++++X++++++++++++++++++-------------- 03 ------+++++++++++++++++++++X++++++++++++++++++++---------------- 04 ---------+++++++++++++++++X+++++++++++++++++-------------------- 05 ---------+++++++++++++++++++++X++++++++++++++++++++------------- 06 ----------+++++++++++++++++++X++++++++++++++++++---------------- 07 ------------+++++++++++++++++++X+++++++++++++++++++------------- 08 -----------++++++++++++++++++++X+++++++++++++++++++------------- 09 ---------------++++++++++++++++++++++X+++++++++++++++++++++----- 10 ----------++++++++++++++++++++X++++++++++++++++++++------------- 11 -----------++++++++++++++++++++X++++++++++++++++++++------------ 12 -----------++++++++++++++++++++X+++++++++++++++++++------------- 13 -----------+++++++++++++++++++++X++++++++++++++++++++----------- 14 ---------+-++++++++++++++++++++X+++++++++++++++++++------------- 15 --------------++++++++++++++++++++X+++++++++++++++++++----------
PW0
0000000000111111111122222222223333333333444444444455555555556666
012345678901234567890123456789012345678901234567890123456789012300 ------+++++++++++++++++++++X++++++++++++++++++++---------------- 01 ----------+++++++++++++++++++++X+++++++++++++++++++++----------- 02 ----------++++++++++++++++++++X+++++++++++++++++++-------------- 03 -------++++++++++++++++++++X++++++++++++++++++++---------------- 04 ------++++++++++++++++++X++++++++++++++++++--------------------- 05 --------+++++++++++++++++++++X+++++++++++++++++++++------------- 06 --------++++++++++++++++++++X+++++++++++++++++++---------------- 07 ----------++++++++++++++++++++X++++++++++++++++++++------------- 08 -----------+++++++++++++++++++X+++++++++++++++++++-------------- 09 ---------------++++++++++++++++++++++X+++++++++++++++++++++----- 10 ----------++++++++++++++++++++X++++++++++++++++++++------------- 11 -----------+++++++++++++++++++++X++++++++++++++++++++----------- 12 -----------++++++++++++++++++++X+++++++++++++++++++------------- 13 -----------+++++++++++++++++++++X++++++++++++++++++++----------- 14 ----------++++++++++++++++++++X++++++++++++++++++++------------- 15 ---------------+++++++++++++++++++X+++++++++++++++++++----------
NW0
0000000000111111111122222222223333333333444444444455555555556666
012345678901234567890123456789012345678901234567890123456789012300 -------++++++++++++++++++++++X+++++++++++++++++++++------------- 01 -----------+++++++++++++++++++++++X++++++++++++++++++++++------- 02 -------------+++++++++++++++++++++X++++++++++++++++++++--------- 03 ------+++++++++++++++++++++X+++++++++++++++++++++--------------- 04 ---------++++++++++++++++++++X++++++++++++++++++++-------------- 05 ---------++++++++++++++++++++++X++++++++++++++++++++++---------- 06 ----------+++++++++++++++++++++X++++++++++++++++++++------------ 07 -----------+++++++++++++++++++++X+++++++++++++++++++++---------- 08 --------++++++++++++++++++++++X+++++++++++++++++++++------------ 09 -----------++++++++++++++++++++++++X++++++++++++++++++++++++---- 10 ----------++++++++++++++++++++X++++++++++++++++++++------------- 11 ---------++++++++++++++++++++++X+++++++++++++++++++++----------- 12 --------+++++++++++++++++++++X+++++++++++++++++++++------------- 13 --------++++++++++++++++++++++X++++++++++++++++++++++----------- 14 --------++++++++++++++++++++++X++++++++++++++++++++++----------- 15 -----------++++++++++++++++++++++X++++++++++++++++++++++--------
WRDQW0
0000000000111111111122222222223333333333444444444455555555556666
012345678901234567890123456789012345678901234567890123456789012300 ++++++++++++++++++++X+++++++++++++++++++--------+++++++++++++++- 01 ++++++++++++++++++++X++++++++++++++++++++------++++++++++++++++- 02 +++++++++++++++++++++X+++++++++++++++++++++-----+++++++++++++++- 03 +++++++++++++++++++X+++++++++++++++++++---------+++++++++++++++- 04 ++++++++++++++++++X++++++++++++++++++----------++++++++++++++++- 05 ++++++++++++++++++++X+++++++++++++++++++--------+++++++++++++++- 06 +++++++++++++++++++X++++++++++++++++++---------++++++++++++++++- 07 +++++++++++++++++++++X++++++++++++++++++++------+++++++++++++++- 08 +++++++++++++++++++X+++++++++++++++++++--------++++++++++++++++- 09 +++++++++++++++++++++X+++++++++++++++++++++------++++++++++++++- 10 ++++++++++++++++++++X+++++++++++++++++++---------++++++++++++++- 11 +++++++++++++++++++++X+++++++++++++++++++++------++++++++++++++- 12 +++++++++++++++++++X+++++++++++++++++++--------++++++++++++++++- 13 +++++++++++++++++++++X++++++++++++++++++++------+++++++++++++++- 14 ++++++++++++++++++++X+++++++++++++++++++--------+++++++++++++++- 15 +++++++++++++++++++++X++++++++++++++++++++-------++++++++++++++-
WRDMW0 00000019
WRDMW0 00000020
ADDR
0000000000111111111122222222223333333333444444444455555555556666
012345678901234567890123456789012345678901234567890123456789012300 ++++++++++++++++S++++++++++++++X++++++++++++++++++++++++++++++++
Detected ddr size 1024 MiB
DRAM: 16 MiB
WARNING: Caches not enabled
NAND: cs 0 dev_id word 0 2ca39026
(ONFI), MT29F8G08ABBCAH4 ,
ONFI info: device 1024MB, page 4096B, oobsize 224B, block 256KB,
col-addr 2, row-addr 3, 8-bitFound strap type 0x2 strap page 0x0
*ERROR* Invalid strap options for this NAND: page=0 type=2 Overriding invalid strap options: strap_type=6REG_ACC_CONTROL c10c009b spare_area_bytes 1b ecc_level c eccbytes 2a steps 4 REG_CONFIG 38252300
256 KiB blocks, 4 KiB pages, 27B OOB, 8-bit
NAND: chipsize 1024 MiB MMC: iproc_mmc: 0 SF: Detected S25FL128S_64K with page size 64 KiB, total 16 MiB In: serial Out: serial Err: serial
Unlocking L2 Cache ...Done
arm_clk=1000MHz, axi_clk=500MHz, apb_clk=250MHz, arm_periph_clk=500MHz
Net: Registering eth
Broadcom BCM IPROC Ethernet driver 0.1
Using GMAC1 (0x18025000)
et0: ethHw_chipAttach: Chip ID: 0xcf12; phyaddr: 0x1ebcm_robo_attach: devid: 0x53012
bcmiproc_eth-0
SF: Detected S25FL128S_64K with page size 64 KiB, total 16 MiB Erasing SPI flash...Writing to SPI flash...done
Valid environment: 2
autobooting...