mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Javier Fileiv <javier.fileiv@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org, Juergen Borleis <jbe@pengutronix.de>
Subject: Re: Loading kernel issues
Date: Fri, 21 Oct 2016 10:11:55 +0200	[thread overview]
Message-ID: <CABvwO2B_vjaFkyKZXx-gzCdwXVVJ-UeodD6MOsBLvPBT_6P7iw@mail.gmail.com> (raw)
In-Reply-To: <20161021080728.4i3bulijw7wtxdqs@pengutronix.de>

I thought that, by default, the NOR bootloader was setting it's config
files in NOR as well. But it seems that both bootloader are getting
the same config file.
I will switch to NOR, short the two right data lines, short them,
start the mini board. And at that point I will change back the
/env/config file. After that will re build barebox with that lines you
told me, commented out. And re flash barebox to NOR!

Thank you very much guys, will tell you my advance.

2016-10-21 10:07 GMT+02:00 Sascha Hauer <s.hauer@pengutronix.de>:
> On Fri, Oct 21, 2016 at 09:53:45AM +0200, Juergen Borleis wrote:
>> Hi Javier,
>>
>> On Friday 21 October 2016 09:41:15 Javier Fileiv wrote:
>> > I was looking to buy an ARM9 Jtag because it's what I
>> > though... I would need a JTAG.
>> >
>> > Regarding shorting the data lines... do you know exactly what would I
>> > need to do?
>>
>> Reading the datasheet of the used NAND device, find its datalines, find them on
>> the Mini2440, configure the board to boot from NOR, short two of the eight
>> datalines and power the board.
>
> The best would be to find two which are exactly next to each other so
> you can short circuit them with a knitting needle or similar.
>
> When you flash a new barebox to NOR flash make sure you flash one that
> doesn't get its environment from NAND, so comment out the following
> lines in the board file:
>
>         devfs_del_partition("env_raw");
>         devfs_add_partition("nand0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env_raw");
>         dev_add_bb_dev("env_raw", "env0");
>
> Sascha
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2016-10-21  8:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABvwO2ARpHSzYE6Y3JrfFAQ2jEzw3EXfP36goL6kPogcBbNLKQ@mail.gmail.com>
2016-10-18  5:37 ` Sascha Hauer
2016-10-18  8:17 ` Juergen Borleis
2016-10-18  8:24   ` Javier Fileiv
2016-10-18 16:56     ` Javier Fileiv
2016-10-19  7:53       ` Juergen Borleis
2016-10-19 18:17         ` Javier Fileiv
2016-10-19 18:18           ` Javier Fileiv
2016-10-20  9:13             ` Juergen Borleis
2016-10-20  9:17               ` Javier Fileiv
2016-10-20 17:59                 ` Javier Fileiv
2016-10-21  7:39                   ` Juergen Borleis
2016-10-21  7:41                     ` Javier Fileiv
2016-10-21  7:53                       ` Juergen Borleis
2016-10-21  7:54                         ` Javier Fileiv
2016-10-21  8:02                           ` gianluca
2016-10-21  8:05                           ` Juergen Borleis
2016-10-21  8:07                         ` Sascha Hauer
2016-10-21  8:11                           ` Javier Fileiv [this message]

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=CABvwO2B_vjaFkyKZXx-gzCdwXVVJ-UeodD6MOsBLvPBT_6P7iw@mail.gmail.com \
    --to=javier.fileiv@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=jbe@pengutronix.de \
    --cc=s.hauer@pengutronix.de \
    /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