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

Success build with trunk openwrt toolchain #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

klirichek
Copy link

Hello.
I've successfully build with source openwrt toolchain (from barrier breaker).
Just an option for you :)

(openwrt is from http://git.openwrt.org/openwrt.git)
Then set target system as Broadcom BCM47xx/53xx wirh ARM, the compiler to the latest 4.8.x linaro and uclibc to 0.9.33.2
After building just make a symlink from staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_uClibc-0.9.33.2_eabi of openwrt into toolchain of your project.

Have a question to you:
I've tried to build and run latest kernel (3.14.18), but it stucks just after loading (after CFE runs loaded image from 0x00008000 nothing else happens).
Do you have any customization to the sources of 2.6.36, specific to the M1D?
(Just try to guess the reason of the stuck and resolve it).

@nejtr0n
Copy link

nejtr0n commented Feb 23, 2020

I've git the same issue with buildroot. Booting stuck on

Digital core power voltage set to 1.0V
Decompressing...done
Digital core power voltage set to 1.0V
Decompressing...done
Found a ST compatible (Winbond/NexFlash) serial flash with 256 64KB blocks; total size 16MB
 
 
CFE version v1.0.4
BSP: 6.37.14.93 (r469350) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Oct 14 20:37:39 CST 2014 (xqdevel@fanjialin-ct)
Copyright (C) 2000-2008 Broadcom Corporation.
 
Init Arena
Init Devs.
Boot up from NOR flash...
Boot partition size = 262144(0x40000)
Can't find nandflash! ccrev = 42, chipst= 0
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.93 (r469350)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes
 
CFE mem:    0x00F00000 - 0x017A0354 (9044820)
Data:       0x00F587C8 - 0x00F58DE0 (1560)
BSS:        0x00F58DF0 - 0x00F9E354 (284004)
Heap:       0x00F9E354 - 0x0179E354 (8388608)
Stack:      0x0179E354 - 0x017A0354 (8192)
Text:       0x00F00000 - 0x00F4CE34 (314932)
Boot:       0x017A1000 - 0x017E1000
Reloc:      I:00000000 - D:00000000
 
Device eth0:  hwaddr 8C-BE-BE-31-4E-19, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
********** flag_tftp_bootup=on **********
tftp network: ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0 -gw=192.168.1.1
Device eth0:  hwaddr 8C-BE-BE-31-4E-19, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway 192.168.1.1, nameserver not set
kernel: boot -raw -z -addr=0x8000 -max=0x800000 192.168.1.2:vmlinuz
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
Loading: . 8388608 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000

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

Successfully merging this pull request may close these issues.

2 participants