All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] AM335x Falcon Mode
@ 2017-04-19 13:34 ayoub.zaki at embexus.com
  2017-04-20 14:31 ` Andy Pont
  0 siblings, 1 reply; 5+ messages in thread
From: ayoub.zaki at embexus.com @ 2017-04-19 13:34 UTC (permalink / raw)
  To: u-boot

Hi Everyone,

I'm trying to boot a Beaglebone-Black using Falcon Mode, so far no luck ! I'm using manline u-boot version v2017.01 configured using am335x_boneblack_defconfig and no other source changes.
Here are the steps I performed running from an SD card (Fat Partition) :

U-Boot SPL 2017.01-dirty (Apr 18 2017 - 22:57:12)
Trying to boot from MMC1MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment
reading u-boot.img
reading u-boot.img
U-Boot 2017.01-dirty (Apr 18 2017 - 22:57:12 +0200)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
Net: cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds

=> run args_mmc
=> run loadimage
8942296 bytes read in 610 ms (14 MiB/s)
=> run loadfdt
58129 bytes read in 56 ms (1013.7 KiB/s)
=> spl export fdt ${loadaddr} - ${fdtaddr}
data abort
pc : [<9ff5e4e8>] lr : [<9ff63925>]
reloc pc : [<8080c4e8>] lr : [<80811925>]
sp : 9df31be8 ip : 9ff8c349 fp : 9ffa124c
r10: 9df31c84 r9 : 9df31ed8 r8 : 9ffa124c
r7 : 00000007 r6 : 82000000 r5 : 9ffa124c r4 : 00000000
r3 : 00000000 r2 : 9ff8c530 r1 : 82000000 r0 : 9ff90251
Flags: Nzcv IRQs off FIQs on Mode SVC_32
Resetting CPU ...

resetting ...

Aynone could give me some hints?

Thank you !

Best Regards,
Ayoub Zaki

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

* [U-Boot] AM335x Falcon Mode
  2017-04-19 13:34 [U-Boot] AM335x Falcon Mode ayoub.zaki at embexus.com
@ 2017-04-20 14:31 ` Andy Pont
  2017-04-20 14:35   ` ayoub.zaki at embexus.com
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Pont @ 2017-04-20 14:31 UTC (permalink / raw)
  To: u-boot

Ayoub wrote...

> => run args_mmc
> => run loadimage
> 8942296 bytes read in 610 ms (14 MiB/s)
> => run loadfdt
> 58129 bytes read in 56 ms (1013.7 KiB/s)
> => spl export fdt ${loadaddr} - ${fdtaddr}

I have AM335x Falcon mode running with SPI flash (albeit an old 2014.xx U-Boot version) and the commands for settings it up look the same as the ones you have used.

Do you get any more information about where the data abort is coming from if you build and run U-Boot with #define DEBUG?

-Andy.

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

* [U-Boot] AM335x Falcon Mode
  2017-04-20 14:31 ` Andy Pont
@ 2017-04-20 14:35   ` ayoub.zaki at embexus.com
  2017-04-21  5:47     ` Heiko Schocher
  0 siblings, 1 reply; 5+ messages in thread
From: ayoub.zaki at embexus.com @ 2017-04-20 14:35 UTC (permalink / raw)
  To: u-boot

Hi Andy,

Thanks for the answer, I figured out what the problem is, in the fact I was using a zImage, using an uImage format solve the problem :-)
It should maybe added to the documentation ;-)

best regards,

Ayoub Zaki
On 20 April 2017 at 16:31:21 +02:00, Andy Pont <andy.pont@sdcsystems.com> wrote:

> Ayoub wrote...
> 
> 
> > => run args_mmc
> > => run loadimage
> > 8942296 bytes read in 610 ms (14 MiB/s)
> > => run loadfdt
> > 58129 bytes read in 56 ms (1013.7 KiB/s)
> > => spl export fdt ${loadaddr} - ${fdtaddr}
> > 
> I have AM335x Falcon mode running with SPI flash (albeit an old 2014.xx U-Boot version) and the commands for settings it up look the same as the ones you have used.
> 
> Do you get any more information about where the data abort is coming from if you build and run U-Boot with #define DEBUG?
> 
> -Andy.
> 
> 

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

* [U-Boot] AM335x Falcon Mode
  2017-04-20 14:35   ` ayoub.zaki at embexus.com
@ 2017-04-21  5:47     ` Heiko Schocher
  2017-04-21  7:23       ` Andy Pont
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Schocher @ 2017-04-21  5:47 UTC (permalink / raw)
  To: u-boot

Hello Ayoub,

Am 20.04.2017 um 16:35 schrieb ayoub.zaki at embexus.com:
> Hi Andy,
>
> Thanks for the answer, I figured out what the problem is, in the fact I was using a zImage, using an uImage format solve the problem :-)
> It should maybe added to the documentation ;-)

Patches are welcome!

;-)

bye,
Heiko
>
> best regards,
>
> Ayoub Zaki
> On 20 April 2017 at 16:31:21 +02:00, Andy Pont <andy.pont@sdcsystems.com> wrote:
>
>> Ayoub wrote...
>>
>>
>>> => run args_mmc
>>> => run loadimage
>>> 8942296 bytes read in 610 ms (14 MiB/s)
>>> => run loadfdt
>>> 58129 bytes read in 56 ms (1013.7 KiB/s)
>>> => spl export fdt ${loadaddr} - ${fdtaddr}
>>>
>> I have AM335x Falcon mode running with SPI flash (albeit an old 2014.xx U-Boot version) and the commands for settings it up look the same as the ones you have used.
>>
>> Do you get any more information about where the data abort is coming from if you build and run U-Boot with #define DEBUG?
>>
>> -Andy.
>>
>>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] AM335x Falcon Mode
  2017-04-21  5:47     ` Heiko Schocher
@ 2017-04-21  7:23       ` Andy Pont
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Pont @ 2017-04-21  7:23 UTC (permalink / raw)
  To: u-boot

Heiko wrote...

> > Thanks for the answer, I figured out what the problem is, in the fact I
> > was using a zImage, using an uImage format solve the problem :-)
> > It should maybe added to the documentation ;-)
> 
> Patches are welcome!

I don't know that part of the code well enough to know whether it is a bug that needs fixing so that it will support zImage files or whether, as Ayoub said, we just put in the docs that it doesn't!

-Andy.

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

end of thread, other threads:[~2017-04-21  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 13:34 [U-Boot] AM335x Falcon Mode ayoub.zaki at embexus.com
2017-04-20 14:31 ` Andy Pont
2017-04-20 14:35   ` ayoub.zaki at embexus.com
2017-04-21  5:47     ` Heiko Schocher
2017-04-21  7:23       ` Andy Pont

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.