Skip to contentSkip to conversation

Anyone has success with MX1ADS?

U-Boot-Users Wai-Kong Sung 3 participants 13 messages Aug 23, 2004 – Aug 25, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I am new with U-Boot and I am trying to use it with Moto's MX1ADS. I downloaded the u-boot-2004-08-18-2000.tar.bz2 from the DEX ftp site. I It compiled( mx1ads_config and CROSS_COMPILE=arm-linux-) without problem but didn't run when I downloaded to the board. I am using the MX1 bootstrap mode to download U-Boot.

The board is functioning since I can download and run other applications.

Any pointer would be greatly appreciate!

Regards,

waikong

#1 lore raw
Quoted 7 lines · Wai-Kong Sung

Hi,

I am new with U-Boot and I am trying to use it with Moto's MX1ADS. I downloaded the u-boot-2004-08-18-2000.tar.bz2 from the DEX ftp site. I It compiled( mx1ads_config and CROSS_COMPILE=arm-linux-) without problem but didn't run when I downloaded to the board. I am using the MX1 bootstrap mode to download U-Boot.

Did you use bootstrap mode to merely download it or install it into flash?

Quoted 4 lines

The board is functioning since I can download and run other applications.

Any pointer would be greatly appreciate!

FWIW, I just confirmed that latest u-boot CVS +/- a few hours works on my MX1ADS board:

U-Boot 1.1.2 (Aug 24 2004 - 11:49:40)

U-Boot code: 08400000 -> 08418414 BSS: -> 0841C868 RAM Configuration:
Bank #0: 08000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

MX1ADS board with MC9328 MX1 (0L44N), Silicon ID 0x0005901d

Hit any key to stop autoboot: 0
MX1ADS$

I used the mx1flash install utility included in the MX1 RedBoot package available from Freescale to install u-boot into SyncFlash on my board. After installing u-boot into flash via mx1flash (using bootstrap mode), I set S22-2 (BOOT1) OFF and u-boot works ok for me. Default console is on UART1 at 115200n8.

--
Regards,
George

author
#2 lore raw

Hi George,

I converted the SREC to boostrap mode format and download U-boot to RAM. Can it I do that? or I must burn it to flash first?

Anyway, I will checkout the latest u-boot from CVS and try your approach again.

waikong

--- "George G. Davis" <[email protected]> ???

Quoted 56 lines
Quoted 3 lines · Wai-Kong Sung

Hi,

I am new with U-Boot and I am trying to use it

with Moto's MX1ADS. I

Quoted 1 line

downloaded the u-boot-2004-08-18-2000.tar.bz2 from

the DEX ftp site. I

Quoted 1 line

It compiled( mx1ads_config and

CROSS_COMPILE=arm-linux-) without problem

Quoted 1 line

but didn't run when I downloaded to the board. I

am using the MX1

Quoted 1 line

bootstrap mode to download U-Boot.

Did you use bootstrap mode to merely download it or install it into flash?

Quoted 2 lines

The board is functioning since I can download and

run other applications.

Quoted 2 lines

Any pointer would be greatly appreciate!

FWIW, I just confirmed that latest u-boot CVS +/- a few hours works on my
MX1ADS board:

U-Boot 1.1.2 (Aug 24 2004 - 11:49:40)

U-Boot code: 08400000 -> 08418414 BSS: -> 0841C868 RAM Configuration:
Bank #0: 08000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

MX1ADS board with MC9328 MX1 (0L44N), Silicon ID 0x0005901d

Hit any key to stop autoboot: 0
MX1ADS$

I used the mx1flash install utility included in the MX1 RedBoot package
available from Freescale to install u-boot into SyncFlash on my board.
After installing u-boot into flash via mx1flash (using bootstrap mode),
I set S22-2 (BOOT1) OFF and u-boot works ok for me. Default console is on
UART1 at 115200n8.

Quoted 4 lines

--
Regards,
George

__________________________________
???????????????Webcam?????
?? Yahoo! Messenger
http://messenger.yahoo.com.hk/

#3 lore raw
Quoted 5 lines · W Sung

Hi George,

I converted the SREC to boostrap mode format and download U-boot to RAM. Can it I do that? or I must burn it to flash first?

I grabbed and extracted REDBOOT.zip here:

http://search.freescale.com/cs.html?url=http%3A//www.freescale.com/files/soft_dev_tools/software_tools/initialization/boot_code_generation/REDBOOT.zip&qt=redboot&col=product&n=1

Refer to redboot_200405/doc/redboot_mx1.pdf in the above for help installing RedBoot into flash on the MX1 ADS. Then note that you can s/RedBoot/U-Boot/g in those instructions to install u-boot, more or less.

Using redboot_200405/tools/mx1flash-v2.0.1/mx1flash included in REDBOOT.zip, I did the following on an MS Windows host:

mx1flash 1 8800000 C000000 u-boot.bin

Works like a charm for me.

Oh, have a look at redboot_200405/tools/mx1flash-v2.0.1/ReadMe.txt for other tips too.

--
Regards,
George

Quoted 83 lines

Anyway, I will checkout the latest u-boot from CVS and try your approach again.

waikong

--- "George G. Davis" <[email protected]> ???

Quoted 56 lines
Quoted 3 lines · Wai-Kong Sung

Hi,

I am new with U-Boot and I am trying to use it

with Moto's MX1ADS. I

Quoted 1 line

downloaded the u-boot-2004-08-18-2000.tar.bz2 from

the DEX ftp site. I

Quoted 1 line

It compiled( mx1ads_config and

CROSS_COMPILE=arm-linux-) without problem

Quoted 1 line

but didn't run when I downloaded to the board. I

am using the MX1

Quoted 1 line

bootstrap mode to download U-Boot.

Did you use bootstrap mode to merely download it or install it into flash?

Quoted 2 lines

The board is functioning since I can download and

run other applications.

Quoted 2 lines

Any pointer would be greatly appreciate!

FWIW, I just confirmed that latest u-boot CVS +/- a few hours works on my
MX1ADS board:

U-Boot 1.1.2 (Aug 24 2004 - 11:49:40)

U-Boot code: 08400000 -> 08418414 BSS: -> 0841C868 RAM Configuration:
Bank #0: 08000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

MX1ADS board with MC9328 MX1 (0L44N), Silicon ID 0x0005901d

Hit any key to stop autoboot: 0
MX1ADS$

I used the mx1flash install utility included in the MX1 RedBoot package
available from Freescale to install u-boot into SyncFlash on my board.
After installing u-boot into flash via mx1flash (using bootstrap mode),
I set S22-2 (BOOT1) OFF and u-boot works ok for me. Default console is on
UART1 at 115200n8.

Quoted 4 lines

--
Regards,
George

__________________________________
???????????????Webcam?????
?? Yahoo! Messenger
http://messenger.yahoo.com.hk/

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#4 lore raw

I successfully downloaded the u-boot MX1ADS build thru redboot download to the board. Thanks, Geroge! :)

The only downside is the mx1flash is a windows executable and I am using Linux as my development environment. Any Linux equivalent of this mx1flash?

Quoted 133 lines · George G. Davis
Quoted 5 lines · W Sung

Hi George,

I converted the SREC to boostrap mode format and download U-boot to RAM. Can it I do that? or I must burn it to flash first?

I grabbed and extracted REDBOOT.zip here:

http://search.freescale.com/cs.html?url=http%3A//www.freescale.com/files/soft_dev_tools/software_tools/initialization/boot_code_generation/REDBOOT.zip&qt=redboot&col=product&n=1

Refer to redboot_200405/doc/redboot_mx1.pdf in the above for help installing RedBoot into flash on the MX1 ADS. Then note that you can s/RedBoot/U-Boot/g in those instructions to install u-boot, more or less.

Using redboot_200405/tools/mx1flash-v2.0.1/mx1flash included in REDBOOT.zip, I did the following on an MS Windows host:

mx1flash 1 8800000 C000000 u-boot.bin

Works like a charm for me.

Oh, have a look at redboot_200405/tools/mx1flash-v2.0.1/ReadMe.txt for other tips too.

--
Regards,
George

Quoted 84 lines

Anyway, I will checkout the latest u-boot from CVS and try your approach again.

waikong

--- "George G. Davis" <[email protected]> ???

Quoted 66 lines
Quoted 3 lines · Wai-Kong Sung

Hi,

I am new with U-Boot and I am trying to use it

with Moto's MX1ADS. I

Quoted 1 line

downloaded the u-boot-2004-08-18-2000.tar.bz2 from

the DEX ftp site. I

Quoted 1 line

It compiled( mx1ads_config and

CROSS_COMPILE=arm-linux-) without problem

Quoted 1 line

but didn't run when I downloaded to the board. I

am using the MX1

Quoted 1 line

bootstrap mode to download U-Boot.

Did you use bootstrap mode to merely download it or install it into flash?

Quoted 1 line

The board is functioning since I can download and

run other applications.

Quoted 1 line

Any pointer would be greatly appreciate!

FWIW, I just confirmed that latest u-boot CVS +/- a few hours works on my
MX1ADS board:

U-Boot 1.1.2 (Aug 24 2004 - 11:49:40)

U-Boot code: 08400000 -> 08418414 BSS: -> 0841C868 RAM Configuration:
Bank #0: 08000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

MX1ADS board with MC9328 MX1 (0L44N), Silicon ID 0x0005901d

Hit any key to stop autoboot: 0
MX1ADS$

I used the mx1flash install utility included in the MX1 RedBoot package
available from Freescale to install u-boot into SyncFlash on my board.
After installing u-boot into flash via mx1flash (using bootstrap mode),
I set S22-2 (BOOT1) OFF and u-boot works ok for me. Default console is on
UART1 at 115200n8.

Quoted 4 lines

--
Regards,
George

__________________________________
???????????????Webcam?????
?? Yahoo! Messenger
http://messenger.yahoo.com.hk/

Quoted 9 lines

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#5 lore raw
Quoted 5 lines · Wai-Kong Sung

I successfully downloaded the u-boot MX1ADS build thru redboot download to the board. Thanks, Geroge! :)

The only downside is the mx1flash is a windows executable and I am using Linux as my development environment. Any Linux equivalent of this mx1flash?

Can you activate the "Bootstrap Mode Operation"?

I wrote a script that generates an B-record file that you could download the the MX1ADS using your favorite terminal program after entering the "Bootstrap Mode"...

On the other hand I first burned the bootloader mx1_rel_0.3.8\Bootloader\Bin\SyncFlash\boot.bin into the MX1ADS and then downloaded the U-Boot image via USB ...

Signature · 1 line
Steven
#6 lore raw
Quoted 5 lines · Steven Scholz
Quoted 3 lines · Wai-Kong Sung

I successfully downloaded the u-boot MX1ADS build thru redboot download to the board. Thanks, Geroge! :)

Quoted 8 lines
Quoted 2 lines

The only downside is the mx1flash is a windows executable and I am using Linux as my development environment. Any Linux equivalent of this mx1flash?

Can you activate the "Bootstrap Mode Operation"?

I wrote a script that generates an B-record file that you could download the the MX1ADS using your favorite terminal program after entering the "Bootstrap Mode"...

Oh yeah, I meant to take a look at that long ago. Here's the thread:

http://sourceforge.net/mailarchive/message.php?msg_id=8789075

That is quite nice. It would be nice to have that in u-boot CVS somewhere.

Thanks!

<snip>

--
Regards,
George

#7 lore raw
Quoted 18 lines · George G. Davis
Quoted 6 lines · Steven Scholz
Quoted 3 lines · Wai-Kong Sung

I successfully downloaded the u-boot MX1ADS build thru redboot download to the board. Thanks, Geroge! :)

Quoted 8 lines
Quoted 2 lines

The only downside is the mx1flash is a windows executable and I am using Linux as my development environment. Any Linux equivalent of this mx1flash?

Can you activate the "Bootstrap Mode Operation"?

I wrote a script that generates an B-record file that you could download the the MX1ADS using your favorite terminal program after entering the "Bootstrap Mode"...

Quoted 5 lines

Oh yeah, I meant to take a look at that long ago. Here's the thread:

http://sourceforge.net/mailarchive/message.php?msg_id=8789075

That is quite nice. It would be nice to have that in u-boot CVS somewhere.

Ehm. Good be that there's still a bug in the script I fixed after posting it to the list.

Signature · 1 line
Steven
#8 lore raw
Quoted 3 lines · Steven Scholz
Quoted 1 line · George G. Davis

On Wed, Aug 25, 2004 at 02:23:09PM +0200, Steven Scholz wrote:

<snip>

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

I wrote a script that generates an B-record file that you could download the the MX1ADS using your favorite terminal program after entering the "Bootstrap Mode"...

Quoted 8 lines
Quoted 5 lines

Oh yeah, I meant to take a look at that long ago. Here's the thread:

http://sourceforge.net/mailarchive/message.php?msg_id=8789075

That is quite nice. It would be nice to have that in u-boot CVS somewhere.

Ehm. Good be that there's still a bug in the script I fixed after posting it to the list.

Erm, I didn't actually test it. I only skimmed it and it looked good to me. : P

Of course it still needs NOR flash support and a means to select Sync or NOR flash d/l. But that is easy enough to add...

<snip>

--
Regards,
George

author
#9 lore raw
In reply to George G. Davis

Is it possible to use boostrap mode to download u-boot to RAM and just run from there?

waikong

--- "George G. Davis" <[email protected]> ???

Quoted 15 lines
Quoted 3 lines · Steven Scholz
Quoted 1 line · Wai-Kong Sung

I successfully downloaded the u-boot MX1ADS build

thru redboot download

Quoted 3 lines
Quoted 3 lines

to the board. Thanks, Geroge! :)

The only downside is the mx1flash is a windows

executable and I am using

Quoted 1 line
Quoted 1 line

Linux as my development environment. Any Linux

equivalent of this mx1flash?

Quoted 3 lines

Can you activate the "Bootstrap Mode Operation"?

Quoted 10 lines
Quoted 1 line

I wrote a script that generates an B-record file

that you could download

Quoted 1 line

the the MX1ADS using your favorite terminal

program after entering the

Quoted 1 line

"Bootstrap Mode"...

Oh yeah, I meant to take a look at that long ago.
Here's the thread:

http://sourceforge.net/mailarchive/message.php?msg_id=8789075

Quoted 4 lines

That is quite nice. It would be nice to have that in u-boot CVS somewhere.

Quoted 8 lines

Thanks!

<snip>

--
Regards,
George

__________________________________
???????????????Webcam?????
?? Yahoo! Messenger
http://messenger.yahoo.com.hk/

#10 lore raw
Quoted 2 lines · W Sung

Is it possible to use boostrap mode to download u-boot to RAM and just run from there?

Of course.

You JUST have to init your cpu, clocks and ram first! ;-) This might be a bit complicated to do with brecs.

And of course you have to make sure that U-Boot does not do this init again! That is #undef CONFIG_INIT_CRITICAL inb your u-boot/include/configs/mx1ads.h

But what is wrong with the solution:
1.) enter bootstrap mode
2.) download and burn mx1_rel_0.3.8\Bootloader\Bin\SyncFlash\boot.bin
(to be found at motorola homepage)
3.) restart board
4.) select "burn bootloader" (or similar) from the menu 4.) connect USB cable
(a new HDD drive appears in your M$ Explorer ... ooops) 5.) copy your u-boot.bin onto the new hdd
6.) "eject" HDD (this starts the burn process)
7.) restart and U-Boot is running!

This is describe in some motorola document that comes with the mentioned LINUX_BSP_0_3_8

--
Steven

#11 lore raw
Quoted 25 lines · Steven Scholz
Quoted 2 lines · W Sung

Is it possible to use boostrap mode to download u-boot to RAM and just run from there?

Of course.

You JUST have to init your cpu, clocks and ram first! ;-) This might be a bit complicated to do with brecs.

And of course you have to make sure that U-Boot does not do this init again! That is #undef CONFIG_INIT_CRITICAL inb your u-boot/include/configs/mx1ads.h

But what is wrong with the solution:
1.) enter bootstrap mode
2.) download and burn mx1_rel_0.3.8\Bootloader\Bin\SyncFlash\boot.bin
(to be found at motorola homepage)
3.) restart board
4.) select "burn bootloader" (or similar) from the menu 4.) connect USB cable
(a new HDD drive appears in your M$ Explorer ... ooops) 5.) copy your u-boot.bin onto the new hdd
6.) "eject" HDD (this starts the burn process)
7.) restart and U-Boot is running!

Quoted 2 lines

This is describe in some motorola document that comes with the mentioned LINUX_BSP_0_3_8

And, even easier, just use the mx1flash utility included in the MX1 RedBoot package publically available at www.freescale.com. Just do a search for RedBoot at the Freescale home page. First hit should give you what you're looking for, i.e. RedBoot, in which the mx1flash utility can be found.

--
Regards,
George

#12 lore raw
In reply to W Sung
Quoted 2 lines · W Sung

Is it possible to use boostrap mode to download u-boot to RAM and just run from there?

Sure it's possible. I've personally never bothered trying. You probably need to #undef CONFIG_INIT_CRITICAL and work out a few other details. Perhaps someone else has already done it and can supply details.

<snip>

--
Regards,
George