mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH]: ARM/RK3188 radxa-rock sdcard boot env file: DTB location fix
@ 2018-09-17 15:41 perachet7
  2018-09-18  6:08 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: perachet7 @ 2018-09-17 15:41 UTC (permalink / raw)
  To: barebox

Hi,

As Sascha correctly pointed out, the DTB ought to be specified via a global 
var now.
This patch fixes it.

Boot log was:
[...]
Hit any key to stop autoboot:    1
booting 'mshc1'
mount: No such file or directory
ext4 ext40: EXT2 rev 1, inode_size 128, descriptor size 32
mounted /dev/mshc1.0 on /mnt/mshc1.0
setting root node failed: Device or resource busy
oftree: Device or resource busy

Loading ARM Linux zImage '/mnt/mshc1.0/zImage'
[...]

There still are a couple of issues:

1) mount: No such file or directory [still present]

2) setting root node failed: Device or resource busy

3) oftree: Device or resource busy

Numbers 2) and 3) should be fixed now.

Thx.

S.

diff --git a/arch/arm/boards/radxa-rock/env/boot/mshc1 b/arch/arm/boards/
radxa-rock/env/boot/mshc1
index 7393c4e63..b61dd807d 100644
--- a/arch/arm/boards/radxa-rock/env/boot/mshc1
+++ b/arch/arm/boards/radxa-rock/env/boot/mshc1
@@ -3,7 +3,7 @@
 mount /dev/mshc1.0
 
 global.bootm.boot_atag=true
-oftree -l /mnt/mshc1.0/rk3188-radxarock.dtb
+global.bootm.oftree=/mnt/mshc1.0/rk3188-radxarock.dtb
 
 global.bootm.image=/mnt/mshc1.0/zImage
 global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootwait"




_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH]: ARM/RK3188 radxa-rock sdcard boot env file: DTB location fix
  2018-09-17 15:41 [PATCH]: ARM/RK3188 radxa-rock sdcard boot env file: DTB location fix perachet7
@ 2018-09-18  6:08 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-09-18  6:08 UTC (permalink / raw)
  To: perachet7; +Cc: barebox

Hi,

On Mon, Sep 17, 2018 at 05:41:12PM +0200, perachet7@gmail.com wrote:
> Hi,
> 
> radxa-rock/env/boot/mshc1
> index 7393c4e63..b61dd807d 100644
> --- a/arch/arm/boards/radxa-rock/env/boot/mshc1
> +++ b/arch/arm/boards/radxa-rock/env/boot/mshc1
> @@ -3,7 +3,7 @@
>  mount /dev/mshc1.0
>  
>  global.bootm.boot_atag=true

   ^^^^

This should be removed also since we do not want to boot the board using
ATAGs.

Your patch lacks a Signed-off-by tag. Please add that next time you send
a patch. For this time I created a patch myself with the line above
removed.

Sascha

> -oftree -l /mnt/mshc1.0/rk3188-radxarock.dtb
> +global.bootm.oftree=/mnt/mshc1.0/rk3188-radxarock.dtb
>  
>  global.bootm.image=/mnt/mshc1.0/zImage
>  global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootwait"
> 
> 
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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] 2+ messages in thread

end of thread, other threads:[~2018-09-18  6:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-17 15:41 [PATCH]: ARM/RK3188 radxa-rock sdcard boot env file: DTB location fix perachet7
2018-09-18  6:08 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox