All of lore.kernel.org
 help / color / mirror / Atom feed
From: <andrea@perpic.it>
To: <meta-freescale@yoctoproject.org>
Subject: Questions on adapt yocto to a custom board
Date: Thu, 6 Aug 2015 09:52:28 +0200	[thread overview]
Message-ID: <1438847548.2415.11.camel@perpic.it> (raw)

Hello everybody,

It's some day that I'm surfing the net looking for the answer to my
question, I don't find any useful information because it looks to me
that all the solutions in in some way tricks and not clean solutions.

My case:
I have an IMX53 custom board that is similar to loco but I added some
gpio and other function due to my application needs. (I think this
situation is common for everybody that produces dedicated hardware also
for other processors.)

For adding complexity... All the documentation I can see on the net is
related OR to LTIB OR to IMX6 that uses a different kernel version so
files are in different locations or with different names.

Finally my question:
What is the best way for deal with a new hardware?
Adapt all the file from (u-boot / kernel) of the more similar board for
adapt to my needs or create a new board?

case 1: I think it's simples because what is already working continue to
work but I expect less flexibility because if I need to have a variant
of that board I need to manage two different layers depends on the board
I need to compile.

case 2: create a new u-boot / kernel configuration for my board.
I expect more difficult at the beginning, find the right files to copy,
build the new versions of the firmware etc. Also every new changes on
the original board will be lost if I don't change them in my new files

What do you usually do?
What do you think are the problems with case 1 and case 2?

Are you aware of any guide that I can follow for case 1 and / or case 2?
I am thinking about... iomux, flexcan initialization...

Any input will be appreciated
thank you for reading the long post
best regards
Andrea

             reply	other threads:[~2015-08-06  7:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06  7:52 andrea [this message]
2015-08-06 14:05 ` Questions on adapt yocto to a custom board Daiane Angolini
2015-08-06 15:20   ` andrea
2015-08-06 16:01     ` Daiane Angolini
2015-08-07  7:24       ` andrea
2015-08-10 12:19         ` Daiane Angolini
2015-08-10 12:56           ` andrea
2015-08-11 16:53             ` Fabio Estevam
2015-08-10 12:26         ` Fabio Estevam

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=1438847548.2415.11.camel@perpic.it \
    --to=andrea@perpic.it \
    --cc=meta-freescale@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.