How to flash OpenWRT image for nxp ls-1088ARDB-PB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to flash OpenWRT image for nxp ls-1088ARDB-PB

1,123 Views
ashutoshharry
Contributor III

HI All,

trying to flash openwrt firmware on LS-1088a but stuck on tinydistro with no ethernet connection 

if any Uboot steps will be helpful or do i have to flash uboot, kernel image and rootfs sepratly?

0 Kudos
6 Replies

1,097 Views
ashutoshharry
Contributor III

hi @yipingwang 

both mac address is set on uboot.

i am trying to flash LS1088ARDB openwrt firmware on LS1088ARDB-PB and after changing ddr_init.c file i am stuck on below error

"BL2: Booting BL31"

eth10addr=68:05:ca:2e:50:ab
eth11addr=68:05:ca:35:c3:1a
eth1addr=00:04:9f:06:eb:71
eth2addr=00:04:9f:06:eb:72
eth3addr=00:04:9f:06:eb:73
eth4addr=00:04:9f:06:eb:74
eth5addr=00:04:9f:06:eb:75
eth6addr=00:04:9f:06:eb:76
eth7addr=00:04:9f:06:eb:77
eth8addr=00:04:9f:06:eb:78
eth9addr=00:04:9f:06:eb:79
ethact=DPMAC1@xgmii
ethaddr=00:04:9f:06:eb:70

0 Kudos

1,094 Views
yipingwang
NXP TechSupport
NXP TechSupport

Why did you modify ddr_init.c in ATF source code?

It seems that there is DDR controller initialization problem on your target board.

Tags (1)
0 Kudos

1,082 Views
ashutoshharry
Contributor III

hi @yipingwang 

 

due to ERROR: mmap_add_region_check() failed. error -22 this error i changed ddr_init.c 

as solution provided in below link 

https://community.nxp.com/t5/Layerscape/LS1088ARDB-PB-UDIMM-initialization-failed-while-SD-Card-boot...

0 Kudos

1,062 Views
yipingwang
NXP TechSupport
NXP TechSupport
0 Kudos

1,092 Views
ashutoshharry
Contributor III

Hi 

static const struct board_timing udimm[] = {
{0x04, rce, 0x01030508, 0x090b0d06},
};

-------------

After change:

-------------


static const struct board_timing udimm[] = {
{0x04, rce, 0x01030508, 0x090b0d06},
{0x0F, rce, 0x01030508, 0x090b0d06},
};

 

can we flash LS1088ARDB openwrt firmware  on LS1088ARDB-PB?

0 Kudos

1,100 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to target/linux/layerscape/README provided in OpenWRT to build and deploy the image to the target board.

* u-boot may fail to read MAC addresses from EEPROM on some boards and there
won't be MAC addresses set in environment. This may cause kernel fails to
probe these network interfaces. The workaround is to set MAC addresses
manually, for example,

=> setenv ethaddr 00:04:9F:04:65:4b
=> setenv eth1addr 00:04:9F:04:65:4c

Tags (2)
0 Kudos