Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u-boot for armada_38x_clearfog hangs when compiled with arm-openwrt-linux-muslgnueabi toolchain #2

Open
david0fc opened this issue Jun 23, 2016 · 2 comments

Comments

@david0fc
Copy link

Using top of branch u-boot-2013.01-15t1-clearfog
Toolchain based on arm_cortex-a9+vfpv3, gcc-5.3.0, musl-1.1.14_eabi.
I've patched things as per the attached files.

It goes upto:

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01 (Jun 23 2016 - 13:46:10) Marvell version: 2015_T1.0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0

when it should do also:

PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 1: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed3000:0x3ff97e94
       BSS:                     0x3ffef964
       Stack:                   0x3f9c2f20
       Heap:                    0x3f9c3000:0x3fed3000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0, egiga1, egiga2
Hit any key to stop autoboot:  0 
1872632 bytes read in 129 ms (13.8 MiB/s)
17270 bytes read in 19 ms (886.7 KiB/s)
## Flattened Device Tree blob at 01800000
   Booting using the fdt blob at 0x01800000
   Loading Device Tree to 0fff8000, end 0ffff375 ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Anything you can point out?

patches.zip

@david0fc david0fc changed the title u-boot for armada_38x_clearfog hungs when compiled with arm-openwrt-linux-muslgnueabi toolchain u-boot for armada_38x_clearfog hangs when compiled with arm-openwrt-linux-muslgnueabi toolchain Jun 23, 2016
@david0fc
Copy link
Author

Mote, when using toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_uClibc-0.9.33.2_eabi with the same patches, it still works fine.

lioramsalem pushed a commit that referenced this issue Jun 29, 2016
	** this is patch #2 in bin_header_debug series of patches

	- add bin header debug foler with debug.c file, that does nothing.
	** the purpose of this file is to run the prompt mode in bin header
	** debug

Change-Id: Ibb94f379612bb838a0f4777d00697e69fcae4e9c
Signed-off-by: Bassel Saba <[email protected]>
Reviewed-on: http://vgitil04.il.marvell.com:8080/22438
Reviewed-by: Omri Itach <[email protected]>
Tested-by: Omri Itach <[email protected]>
@david0fc
Copy link
Author

Note, seems that the repo https://github.com/SolidRun/u-boot-armada38x.git has the same branch as this other one, but it seems to fix a problem with the ethernet switch and the ethernet LEDS.

It also prints this extra thing before hanging:

*** Warning - bad CRC, using default environment

Just in case it triggers somebody's memory on fixes that should be ported between the two.

netazurh pushed a commit that referenced this issue Dec 15, 2016
Change-Id: Ibfc2d72b74b4a24f1fbe0ff944e025741d21fda1
Signed-off-by: Nadav Haklai <[email protected]>
Reviewed-on: http://vgitil04.il.marvell.com:8080/26080
Tested-by: Star_New_DDR <[email protected]>
Tested-by: Star_Automation <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant