* mips : How to run barebox by bootm in ram(u-boot command)?
@ 2019-08-19 13:40 duhuanpeng
2019-08-29 13:03 ` Oleksij Rempel
0 siblings, 1 reply; 3+ messages in thread
From: duhuanpeng @ 2019-08-19 13:40 UTC (permalink / raw)
To: barebox
Hello! How to run Barebox from ram now?
I have a board with 64MiB ram and 16MiB flash, flash it to the first sector
by
original u-boot, maybe brick the board. Debrick is difficult due to limited
tools.
So, I want to run this in ram. And my u-boot *don't* have the "go" command.
I have to use bootm command to run Barebox.
- - - - - -
mkimage -A mips -O linux -T kernel -C none -a 80060000 -e 80060000 -n
'barebox-tp-link' -d barebox.bin uImage
tftpboot 0x81000000 uImage
bootm 0x81000000
- - - -
I have try these above, but no luck.
Regards,
duhuanpeng
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mips : How to run barebox by bootm in ram(u-boot command)?
2019-08-19 13:40 mips : How to run barebox by bootm in ram(u-boot command)? duhuanpeng
@ 2019-08-29 13:03 ` Oleksij Rempel
2019-08-29 13:10 ` Ahmad Fatoum
0 siblings, 1 reply; 3+ messages in thread
From: Oleksij Rempel @ 2019-08-29 13:03 UTC (permalink / raw)
To: duhuanpeng, barebox
Hi,
On 19.08.19 15:40, duhuanpeng wrote:
> Hello! How to run Barebox from ram now?
>
> I have a board with 64MiB ram and 16MiB flash, flash it to the first sector
> by
> original u-boot, maybe brick the board. Debrick is difficult due to limited
> tools.
>
> So, I want to run this in ram. And my u-boot *don't* have the "go" command.
> I have to use bootm command to run Barebox.
>
> - - - - - -
> mkimage -A mips -O linux -T kernel -C none -a 80060000 -e 80060000 -n
> 'barebox-tp-link' -d barebox.bin uImage
> tftpboot 0x81000000 uImage
> bootm 0x81000000
> - - - -
> I have try these above, but no luck.
Please, try 0xa1000000 instead of 0x81000000-
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mips : How to run barebox by bootm in ram(u-boot command)?
2019-08-29 13:03 ` Oleksij Rempel
@ 2019-08-29 13:10 ` Ahmad Fatoum
0 siblings, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2019-08-29 13:10 UTC (permalink / raw)
To: Oleksij Rempel, duhuanpeng, barebox
Hello,
(replying here because I don't have the original mail)
On 8/29/19 3:03 PM, Oleksij Rempel wrote:
> Hi,
>
> On 19.08.19 15:40, duhuanpeng wrote:
>> Hello! How to run Barebox from ram now?
>>
>> I have a board with 64MiB ram and 16MiB flash, flash it to the first sector
>> by
>> original u-boot, maybe brick the board. Debrick is difficult due to limited
>> tools.
>>
>> So, I want to run this in ram. And my u-boot *don't* have the "go" command.
>> I have to use bootm command to run Barebox.
Note you don't want to use the go command, because it doesn't properly
shutdown U-Boot. This is problematic if your U-Boot configures memory caches
or devices employing DMA.
>>
>> - - - - - -
>> mkimage -A mips -O linux -T kernel -C none -a 80060000 -e 80060000 -n
>> 'barebox-tp-link' -d barebox.bin uImage
>> tftpboot 0x81000000 uImage
>> bootm 0x81000000
>> - - - -
>> I have try these above, but no luck.
>
> Please, try 0xa1000000 instead of 0x81000000-
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-29 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 13:40 mips : How to run barebox by bootm in ram(u-boot command)? duhuanpeng
2019-08-29 13:03 ` Oleksij Rempel
2019-08-29 13:10 ` Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox