How to configure and enable the barebox state?

2016-10-13 Thread Trostel Alain
Hi, I would like to configure and enable the barebox state. My assumption is that I need to change the following device tree for my Phytec AM335x SOM: arch/arm/dts/am335x-phytec-phycore-som.dts But from the documentation (http://www.barebox.org/doc/latest/devicetree/bindings/barebox/barebox,stat

Compressed DTB - builtin DTB

2016-10-13 Thread Daniel Krüger
Hello, I'm currently porting our board support to device tree. Currently, I don't use multi-PBL, but include the device tree via CONFIG_BUILTIN_DTB. This works, but the DTB seems to be included twice in the image: once as plain DTB and once as compressed DTB. I think this isn't intended this w

Re: [RFC] add riscv support

2016-10-13 Thread Robert Schwebel
On Thu, Oct 13, 2016 at 12:11:27PM +0300, Antony Pavlov wrote: > This patch adds initial RISC-V architecture support for barebox. Great to see this; could you add some documentation? We have a nice documentation framework in the meantime. Most of your cover letter could for example go into the doc

[RFC] add riscv support

2016-10-13 Thread Antony Pavlov
ld.sh script from riscv-tools should create toolchain, pk ELF image and the spike emulator. Next compile barebox: $ git clone -b 20161013.riscv https://github.com/frantony/barebox $ cd barebox $ make pk_defconfig ARCH=riscv ... $ make ARCH=riscv CROSS_COMPILE=riscv64-unknow