Skip to content

Instantly share code, notes, and snippets.

CFE> ifconfig eth0 -addr=192.168.0.10;boot -tftp -elf 192.168.0.9:/hello
Device eth0: hwaddr 00-00-53-31-40-00, ipaddr 192.168.0.10, mask not set
gateway not set, nameserver not set
Loader:elf Filesys:tftp Dev:eth0 File:192.168.0.9:/hello Options:(null)
Loading: 0x80041000/475944 0x800b5328/1236800 Entry at 0x80041000
Closing network.
-----------------
eth0: 942 sent, 940 received, 0 interrupts
941 tx interrupts, 940 rx interrupts
Starting program at 0x80041000
/* this is a simple hello world program */
#include <stdio.h>
static inline int readl(int *addr)
{
return *addr;
}
char __ramfs_runtime_data[1024];
OUTPUT_FORMAT("elf32-bigmips")
OUTPUT_ARCH(mips:isa32)
STARTUP(vectors.o)
ENTRY(reset_vector)
INPUT(extras.o)
/*
* Sonics Silicon Backplane
* Bus scanning
*
* Copyright (C) 2005-2007 Michael Buesch <m@bues.ch>
* Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
* Copyright (C) 2005 Stefano Brivio <st3@riseup.net>
* Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org>
* Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch>
* Copyright (C) 2006 Broadcom Corporation.
@fvollmer
fvollmer / gist:897654cd6e3eb0c94c5d3cb62519f570
Created July 19, 2019 19:00
Failed boot of openwrt for the GS108Tv2
CFE-NTSW-B5.1.0.2 for GS1XXT (32bit,SP,BE,MIPS)
Build Date: Wed Aug 11 18:05:01 IST 2010 (yrdreddy@lc-hyd-001)
Copyright (C) 2000,2001,2002,2003,2004,2005 Broadcom Corporation.
Initializing Arena.
Initializing Devices.
Board : GS108T
CPU type 0x29050: 200MHz
Total memory: 0x4000000 bytes (64MB)