mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: perachet7@gmail.com
To: barebox@lists.infradead.org
Subject: [PATCH]: ARM/RK3188 radxa-rock sdcard boot env file: DTB location fix
Date: Mon, 17 Sep 2018 17:41:12 +0200	[thread overview]
Message-ID: <9551553.ySa1Ws6A1a@think-future.de> (raw)

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

             reply	other threads:[~2018-09-17 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 15:41 perachet7 [this message]
2018-09-18  6:08 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9551553.ySa1Ws6A1a@think-future.de \
    --to=perachet7@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox