Load .sb file from Linux to MX28

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

Load .sb file from Linux to MX28

Jump to solution
1,592 Views
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?

Tags (3)
0 Kudos
Reply
1 Solution
1,146 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,147 Views
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 Kudos
Reply
1,146 Views
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 Kudos
Reply
1,146 Views
vladimirovseych
Contributor III

It works! Putty need sudo. Thank you.

0 Kudos
Reply