linux-wpan.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ca>
To: Varka Bhadram <varkabhadram@gmail.com>
Cc: linux-wpan@vger.kernel.org,
	unstrung-hackers <unstrung-hackers@lists.sandelman.ca>
Subject: Re: testing and building for RPI
Date: Tue, 21 Jul 2015 12:37:30 -0400	[thread overview]
Message-ID: <12393.1437496650@sandelman.ca> (raw)
In-Reply-To: <55517906.2060204@gmail.com>


Varka Bhadram <varkabhadram@gmail.com> wrote:
    > You can directly use linux-wpan-next tree directly, which has the basic
    > support for RPI. No need to rebase it on rpi kernel.

    > Please see the blog: https://honk.sigxcpu.org/piki/hw/rpi6lowpan/

I finally got back to working on this.
Some minor edits:

you copy the kernel to the name rpi.img:
    scp bluetooth-next/arch/arm/boot/zImage ${TFTP_IP}:/tftpboot/rpi.img
but you tell the system to load zImage:
    dhcp ${kernel_addr_r} zImage

According to the manual, I can take my image from a different machine than
the dhcp server:

U-Boot> dhcp ${kernel_addr_r} 172.30.2.231:zImage
U-Boot> tftp ${fdt_addr_r} 172.30.2.231:${fdtfile}
U-Boot> bootz ${kernel_addr_r} - ${fdt_addr_r}
Bad Linux ARM zImage magic!

I'm still debugging what's going on...
I think the dhcp did not work correctly, as a md of the ${kernel_addr_r}
does not match a hexdump of the zImage that I built.

%file arch/arm/boot/zImage
arch/arm/boot/zImage: Linux kernel ARM boot executable zImage (little-endian)

{BTW: I will be bringing this code base to the ETSI 6lo plugfest in Yokohama
in November}

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


  parent reply	other threads:[~2015-07-21 16:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 19:41 testing and building for RPI Michael Richardson
2015-05-12  3:52 ` Varka Bhadram
2015-05-12  8:28   ` Christoffer Holmstedt
2015-07-21 16:37   ` Michael Richardson [this message]
2015-07-30 14:37     ` Stefan Schmidt
2015-07-25 18:27   ` Michael Richardson
2015-07-27  2:14     ` Michael Richardson
2015-07-27  7:39       ` Alexander Aring
2015-07-30 17:39     ` Guido Günther
2015-07-31 13:33       ` Michael Richardson
2016-03-12 21:38         ` Guido Günther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12393.1437496650@sandelman.ca \
    --to=mcr@sandelman.ca \
    --cc=linux-wpan@vger.kernel.org \
    --cc=unstrung-hackers@lists.sandelman.ca \
    --cc=varkabhadram@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).