Skip to content

Instantly share code, notes, and snippets.

View aep's full-sized avatar
🥬

Arvid E. Picciani aep

🥬
View GitHub Profile
*libgcc:
libgcc.a%s
*startfile:
rcrt1.o%s
*link:
-no-dynamic-linker
ld \
-o exe \
rcrt1.o \
crti.o \
bla-00a457c78cdaf6f1.bla0.rust-cgu.o \
bla-00a457c78cdaf6f1.bla1.rust-cgu.o \
bla-00a457c78cdaf6f1.crate.allocator.rust-cgu.o \
--gc-sections -z relro -z now -Bstatic \
libstd-827ddea93328ae2d.rlib \
0x0000555555598258 <+0>: push %rbp
0x0000555555598259 <+1>: mov %rsp,%rbp
0x000055555559825c <+4>: push %r14
0x000055555559825e <+6>: push %rbx
0x000055555559825f <+7>: sub $0x90,%rsp
0x0000555555598266 <+14>: movdqu (%rdi),%xmm0
0x000055555559826a <+18>: movdqa %xmm0,-0xa0(%rbp)
0x0000555555598272 <+26>: mov %rsi,-0x48(%rbp)
0x0000555555598276 <+30>: lea 0x230c93(%rip),%rdi # 0x5555557c8f10 <_ZN3std10sys_common11thread_info11THREAD_INFO7__getit5__KEY17hffb73c8d664d75eeE__TLS_GOT>
0x000055555559827d <+37>: callq 0x5555555a9fb8 <__tls_get_new>
Hornet USB booting...
VID=0xcf3,PID=0x9330
iManufacturer=0x10,iProduct=0x20,iSerialNumber=0x30
bMaxPower=0xfa
-> COLD_START
bUSBPhyBias=0x3
RUN
00000FF8 FF FF FF FF FF FF FF FF 02 02 00 03 7F BE F1 88 00 00 00 00 00 00 00 00 00 00 00 00 ............................
00001014 00 00 00 00 00 00 00 00 00 00 1F 00 11 02 00 00 00 00 04 00 5B 00 7D 00 03 00 08 FF ....................[.}.....
00001030 11 00 00 00 00 10 01 00 00 22 22 02 00 50 01 50 01 50 01 00 00 00 00 00 00 28 00 A4 .........""..P.P.P.......(..
0000104C 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0E 0E 03 00 2C E2 00 02 ........................,...
00001068 0E 1C E0 00 00 08 E0 00 00 08 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 ............................
00001084 00 00 00 00 00 00 70 89 A2 EF 00 8D 00 00 00 ED 00 8F 00 00 00 EA 00 8F 00 00 00 00 ......p.....................
000010A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............................
000010BC 00 00 00 00 00 00 00 70 AC 70 89 AC 70 89 AC 7A 89 A2 20 20 20 20 20 20 20 20 20 1E .....
[ 0.000000] Linux version 4.4.110 (aep@stark) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3812+1-987a7e3175) ) #0 Wed Jan 17 12:22:43 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
make[1]: Leaving directory '/home/aep/Downloads/SmartPlug_GPL/boot/u-boot/lib_generic'
make -C `dirname common/libcommon.a`
make[1]: Entering directory '/home/aep/Downloads/SmartPlug_GPL/boot/u-boot/common'
mips-openwrt-linux-gcc -Os -D__KERNEL__ -DTEXT_BASE=0x9f000000 -I/home/aep/Downloads/SmartPlug_GPL/boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/aep/proj/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/include -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -march=mips32r2 -Wall -Wstrict-prototypes -g -c -o main.o main.c
mips-openwrt-linux-gcc -Os -D__KERNEL__ -DTEXT_BASE=0x9f000000 -I/home/aep/Downloads/SmartPlug_GPL/boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/aep/proj/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/include -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -march=mips32r2 -Wall -Wstrict-prototypes -g -c -o ACEX1K.o ACEX1K.c
mips-openwrt-
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster
and use dp_busblaster_kt-link.cfg instead
adapter speed: 1000 kHz
jtag
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
aep@derp: ~/kram openocd -f openocd.conf -f target/ar71xx.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster
and use dp_busblaster_kt-link.cfg instead
adapter speed: 1000 kHz
jtag
adapter_nsrst_delay: 100
int nm_lib_parseU32(NM_UINT32 *val, const char *arg)
{
unsigned long res;
char *ptr = NULL;
if (!arg || !*arg)
{
return -1;
}