Skip to content

Instantly share code, notes, and snippets.

@wallento
wallento / magenta.patch
Created June 11, 2017 12:06
magenta patch: initial mapping 64-bit
commit 9237f2b87344d27ec65de6d06b7493643c922fcb
Author: Stefan Wallentowitz <stefan@wallentowitz.de>
Date: Sun Jun 11 13:43:04 2017 +0200
[kernel][vm][initial_map] Move arch-specific defs to arch
The assembly macros to read the initial map are only used by the
architecture so they are also better accomodated there. This also
makes it generally possible to compile for 32-bit architectures.
node('fpga-nexys4ddr') {
lcci.loadModules(["eda/xilinx/vivado/2016.4",
"eda/fusesoc/1.6.1",
"eda/verilator/3.900",
"compilers/openrisc/gcc/5.3.0-newlib2.3.0-1",
"base/python/3.5"])
stage("Checkout") {
checkout scm
}

Keybase proof

I hereby claim:

  • I am wallento on github.
  • I am wallento (https://keybase.io/wallento) on keybase.
  • I have a public key whose fingerprint is C4B2 8147 D237 CB3C DFD7 382B B8C6 2DB2 B9F6 53DC

To claim this, I am signing this object:

(add-hook 'verilog-mode-hook '(lambda ()
(add-hook 'write-file-functions (lambda()
(untabify (point-min) (point-max))
nil))))
In file included from ./tm.h:15:0,
from ../../gcc-4.9.3/gcc/dwarf2asm.c:24:
../../gcc-4.9.3/gcc/dwarf2asm.c: In function ‘void dw2_asm_output_nstring(const char*, size_t, const char*, ...)’:
../../gcc-4.9.3/gcc/config/or1k/or1k.h:1023:69: error: ‘output_ascii_pseudo_op’ was not declared in this scope
output_ascii_pseudo_op (stream, (const unsigned char *) (ptr), len)
^
../../gcc-4.9.3/gcc/dwarf2asm.c:335:7: note: in expansion of macro ‘ASM_OUTPUT_ASCII’
ASM_OUTPUT_ASCII (asm_out_file, str, len);
mkdir ~/tmp-mor1kx-multicore
cd ~/tmp-mor1kx-multicore
# Set your installation prefix
export PREFIX=$HOME/or1k-toolchain
# PRE-pend new or1k-toolchain to PATH