* Cannot boot firefly-rk3399: mmc block read error
@ 2020-05-28 14:58 Simon Glass
2020-05-28 16:54 ` Mark Kettenis
2020-05-28 16:59 ` Jagan Teki
0 siblings, 2 replies; 4+ messages in thread
From: Simon Glass @ 2020-05-28 14:58 UTC (permalink / raw)
To: u-boot
Hi,
I get an error in SPL. Any ideas?
ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/idbloader.img of=/dev/sdb seek=64
265+1 records in
265+1 records out
135987 bytes (136 kB, 133 KiB) copied, 0.0233712 s, 5.8 MB/s
ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/u-boot.itb of=/dev/sdb seek=16384
...
U-Boot TPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27 -0600)
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Regards,
Simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Cannot boot firefly-rk3399: mmc block read error
2020-05-28 14:58 Cannot boot firefly-rk3399: mmc block read error Simon Glass
@ 2020-05-28 16:54 ` Mark Kettenis
2020-05-28 16:59 ` Jagan Teki
1 sibling, 0 replies; 4+ messages in thread
From: Mark Kettenis @ 2020-05-28 16:54 UTC (permalink / raw)
To: u-boot
> From: Simon Glass <sjg@chromium.org>
> Date: Thu, 28 May 2020 08:58:16 -0600
>
> Hi,
>
> I get an error in SPL. Any ideas?
>
> ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/idbloader.img of=/dev/sdb seek=64
> 265+1 records in
> 265+1 records out
> 135987 bytes (136 kB, 133 KiB) copied, 0.0233712 s, 5.8 MB/s
> ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/u-boot.itb of=/dev/sdb seek=16384
> ...
>
>
> U-Boot TPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27)
> Channel 0: DDR3, 800MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> Channel 1: DDR3, 800MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> 256B stride
> 256B stride
> Trying to boot from BOOTROM
> Returning to boot ROM...
>
> U-Boot SPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27 -0600)
> Trying to boot from MMC2
> mmc_load_image_raw_sector: mmc block read error
> Trying to boot from MMC1
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
What version of ATF are you using? Mine boots fine with upstream ATF 2.3.
Cheers,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Cannot boot firefly-rk3399: mmc block read error
2020-05-28 14:58 Cannot boot firefly-rk3399: mmc block read error Simon Glass
2020-05-28 16:54 ` Mark Kettenis
@ 2020-05-28 16:59 ` Jagan Teki
2020-05-29 14:29 ` Simon Glass
1 sibling, 1 reply; 4+ messages in thread
From: Jagan Teki @ 2020-05-28 16:59 UTC (permalink / raw)
To: u-boot
On Thu, May 28, 2020 at 8:28 PM Simon Glass <sjg@chromium.org> wrote:
>
> Hi,
>
> I get an error in SPL. Any ideas?
>
> ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/idbloader.img of=/dev/sdb seek=64
> 265+1 records in
> 265+1 records out
> 135987 bytes (136 kB, 133 KiB) copied, 0.0233712 s, 5.8 MB/s
> ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/u-boot.itb of=/dev/sdb seek=16384
> ...
>
>
> U-Boot TPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27)
> Channel 0: DDR3, 800MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> Channel 1: DDR3, 800MHz
> BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> 256B stride
> 256B stride
> Trying to boot from BOOTROM
> Returning to boot ROM...
>
> U-Boot SPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27 -0600)
> Trying to boot from MMC2
> mmc_load_image_raw_sector: mmc block read error
> Trying to boot from MMC1
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
The fix is in the Mailing list [1], I think Kever is queuing for the next PR?
[1] https://patchwork.ozlabs.org/project/uboot/patch/20200524145618.78951-1-jagan at amarulasolutions.com/
Jagan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Cannot boot firefly-rk3399: mmc block read error
2020-05-28 16:59 ` Jagan Teki
@ 2020-05-29 14:29 ` Simon Glass
0 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2020-05-29 14:29 UTC (permalink / raw)
To: u-boot
Hi,
OK thank you. I got it booting once but I'm actually not sure how.
It looks like that patch is in rk/master, but this is what I am getting:
U-Boot TPL 2020.07-rc3-00062-gfb14231483 (May 29 2020 - 08:27:15)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2020.07-rc3-00062-gfb14231483 (May 29 2020 - 08:27:15 -0600)
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Regards,
Simon
On Thu, 28 May 2020 at 11:00, Jagan Teki <jagan@amarulasolutions.com> wrote:
> On Thu, May 28, 2020 at 8:28 PM Simon Glass <sjg@chromium.org> wrote:
> >
> > Hi,
> >
> > I get an error in SPL. Any ideas?
> >
> > ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/idbloader.img of=/dev/sdb
> seek=64
> > 265+1 records in
> > 265+1 records out
> > 135987 bytes (136 kB, 133 KiB) copied, 0.0233712 s, 5.8 MB/s
> > ellesmere:~/u$ dd if=/tmp/b/firefly-rk3399/u-boot.itb of=/dev/sdb
> seek=16384
> > ...
> >
> >
> > U-Boot TPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27)
> > Channel 0: DDR3, 800MHz
> > BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> > Channel 1: DDR3, 800MHz
> > BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
> > 256B stride
> > 256B stride
> > Trying to boot from BOOTROM
> > Returning to boot ROM...
> >
> > U-Boot SPL 2020.07-rc3-00009-ge80a17f6909 (May 28 2020 - 08:45:27 -0600)
> > Trying to boot from MMC2
> > mmc_load_image_raw_sector: mmc block read error
> > Trying to boot from MMC1
> > mmc_load_image_raw_sector: mmc block read error
> > SPL: failed to boot from all boot devices
> > ### ERROR ### Please RESET the board ###
>
> The fix is in the Mailing list [1], I think Kever is queuing for the next
> PR?
>
> [1]
> https://patchwork.ozlabs.org/project/uboot/patch/20200524145618.78951-1-jagan at amarulasolutions.com/
>
> Jagan.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-29 14:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 14:58 Cannot boot firefly-rk3399: mmc block read error Simon Glass
2020-05-28 16:54 ` Mark Kettenis
2020-05-28 16:59 ` Jagan Teki
2020-05-29 14:29 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.