[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian in a Pcduino3



On Tue, Dec 30, 2014 at 9:26 PM, Robert Nelson <robertcnelson@gmail.com> wrote:
> On Tue, Dec 30, 2014 at 9:23 PM, Lennart Sorensen
> <lsorense@csclub.uwaterloo.ca> wrote:
>> On Tue, Dec 30, 2014 at 08:58:47PM -0600, Robert Nelson wrote:
>>> Oh sunxi-*dts have pre-processor includes too.
>>
>> Oh great, so they need a trip through cpp first?
>
> Yeap:
>
> 120 cmd_dtc = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
> 121         $(DTC) -O dtb -o $@ -b 0 \
> 122                 -i $(src) $(DTC_FLAGS) \
> 123                 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
> 124         cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
>
> http://xenbits.xen.org/gitweb/?p=people/ianc/device-tree-rebasing.git;a=blob;f=Makefile;hb=HEAD#l120
>
> The mainline kernel version is a little harder to find, but it's similar..

In reality, maybe the wiki should just point to using that repo?

voodoo@hestia:/opt/git$ git clone
git://xenbits.xen.org/people/ianc/device-tree-rebasing.git
Cloning into 'device-tree-rebasing'...
remote: Counting objects: 101320, done.
remote: Compressing objects: 100% (52354/52354), done.
remote: Total 101320 (delta 49759), reused 98142 (delta 47863)
Receiving objects: 100% (101320/101320), 27.53 MiB | 3.25 MiB/s, done.
Resolving deltas: 100% (49759/49759), done.
Checking connectivity... done.

voodoo@hestia:/opt/git$ cd device-tree-rebasing/

voodoo@hestia:/opt/git/device-tree-rebasing$ make
src/arm/sun7i-a20-pcduino3.dtb
  DTC     src/arm/sun7i-a20-pcduino3.dtb

*.dtb from Linux 3.19-rc1

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/


Reply to: