Booting Openwrt on TWR-LS1021A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Booting Openwrt on TWR-LS1021A

960 次查看
RealTheDj10
Contributor I

Hi!

I am quite new to the TWR-LS1021A board, but I already ran into some issues.

I am trying to boot OpenWRT LINK, but I have abolutely no idea how, I tried somthing with an SD Card and it didn't work. Could someone please help me to undertsand the logic on how to let the board boot from any kind of image other than the factory default yocto image?

Thanks in advance!

0 项奖励
8 回复数

789 次查看
RealTheDj10
Contributor I

First of all thanks for your help!

I read the readme and I am not quite sure how to boot after the image is written to the sd card, can you assist?

Thanks!

0 项奖励

775 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to section "3. Program flash or SD card" in target/linux/layerscape/README

0 项奖励

767 次查看
RealTheDj10
Contributor I

I tried what's inside that section, but after following the tutorial for programming the flash, the board just starts into the already installed yocto linus distro. And after writing the image to the SD Card and plugging it in I am not sure how I need to change the switches or jumpers to get the board booting from the SD Card.

Thanks in advance!

0 项奖励

706 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Boot source SW2[1:8]  SW3[1:8]
SD card      00101111      01100101

0 项奖励

699 次查看
RealTheDj10
Contributor I

I just tried that, now there is no console output. I just noticed that I have v1.0 of the cpu(ls1021e) if that matters.

0 项奖励

665 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Yes, that's the cause of the problem.

Current NXP released software only supports TWR-LS1021A Rev 2.0 CPU.

0 项奖励

881 次查看
cowgirlalexa
Contributor II

@RealTheDj10 

Looks like booting from SD Card is broken for Layerscape in the 22.03.x and Master tree. Try to boot the Openwrt 21.02.5 SD Card Image.

@yipingwang 

Can you assist?  https://github.com/openwrt/openwrt/issues/11824

0 项奖励

931 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to openwrt/target/linux/layerscape/README

0 项奖励