This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GD's setting is here: | |
setup_dest_addr() | |
and gd->relocaddr (this is located in x0 in armv8 arch. defined in crt0_64.S) | |
Debugging uboot: http://www.denx.de/wiki/view/DULG/DebuggingUBoot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET = test.elf | |
CROSS_COMPILE = aarch64-elf- | |
CC = $(CROSS_COMPILE)gcc | |
LD = $(CROSS_COMPILE)ld | |
CSRC = init.c trap.c | |
ASM_SRC = entry.S trap.S | |
CFLAGS += -mcpu=cortex-a53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo src/openocd -d3 -f ./tcl/interface/ftdi/flyswatter2.cfg -f ./tcl/board/ti_pandaboard_es.cfg | |
Open On-Chip Debugger 0.10.0-dev-00226-ge0a28b290f77 (2016-02-28-15:55) | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.org/doc/doxygen/bugs.html | |
User : 13 3 command.c:546 command_print(): debug_level: 3 | |
Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/bin | |
Debug: 15 3 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/share/openocd | |
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix= | |
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding /home/johnny/.openocd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff `git rev-list HEAD | tail -n 1` HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. https://www.96boards.org/forums/topic/410c-bootloader/ | |
2. https://www.96boards.org/forums/topic/creating-a-baremetal-kernel-for-410c/ | |
3. https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader | |
4. http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/latest/ | |
5. Linux kernel: Documentation/arm64/booting.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
usage () | |
{ | |
echo "Usage: ./find_text_in_pdf.sh pathname pattern" | |
exit | |
} | |
if [ "$#" -ne 2 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 3.12.0-rc1 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_MIGHT_HAVE_PCI=y | |
CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
CONFIG_HAVE_PROC_CPU=y | |
CONFIG_NO_IOPORT=y | |
CONFIG_STACKTRACE_SUPPORT=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct A { | |
double x; | |
} _; | |
A& operator^(double x, A& a) { | |
a.x = x; | |
return a; | |
} | |
double operator^(A& a, double y) { |
NewerOlder