Load .sb file from Linux to MX28

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

Load .sb file from Linux to MX28

跳至解决方案
2,223 次查看
vladimirovseych
Contributor III

Hello, Dear Everyone!

I'm trying to load my custom u-boot.sb to custom board based on iMX287.

I work on Ubuntu 14.04 and see, that official sbloader / MFG Tools is driven by Windows.

I've read this topic MFG Tools for Linux and all of those solutions reports about errors.

E.g.:

root@vladimir-Ubuntu:/home/vladimir/Downloads/sbtools# ./sbloader -x 538704 -u 15a2:004f u-boot.sb

Device: 15a2:004f @ 1.21

Transfer size: 538704

transfer error at send step 0

Error: cannot get status report

root@vladimir-Ubuntu:/home/vladimir/Downloads/sbtools#

Can anyone help me with this problem?

标记 (3)
0 项奖励
回复
1 解答
1,777 次查看
fabio_estevam
NXP Employee
NXP Employee

Maybe you could try using U-boot mainline with mxsldr tool (git.denx.de Git - mxsldr.git/summary ).

Regards,

Fabio Estevam

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,778 次查看
fabio_estevam
NXP Employee
NXP Employee

Maybe you could try using U-boot mainline with mxsldr tool (git.denx.de Git - mxsldr.git/summary ).

Regards,

Fabio Estevam

0 项奖励
回复
1,777 次查看
vladimirovseych
Contributor III

It seems to be OK. At least no error messages appear.

root@vladimir-Ubuntu:/home/vladimir/Downloads/mxsldr# ./mxsldr /home/vladimir/Downloads/mxsldr/u-boot.sb

Detected: i.MX28

Chip ID:          0x2800

Chip Revision:    0x0001

ROM Version:      0x0101

Protocol Version: 0x0100

root@vladimir-Ubuntu:/home/vladimir/Downloads/mxsldr#

But how can I access the u-boot menu? I was doing this with PUTTY, but using PuTTY on Ubuntu I got the following error – “Unable to open connection to: Unable to open serial port“. (connect to dev/ttyUSB0, baud 115200)

0 项奖励
回复
1,777 次查看
vladimirovseych
Contributor III

It works! Putty need sudo. Thank you.

0 项奖励
回复