public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot
Date: Fri, 2 Mar 2018 16:53:49 +0100	[thread overview]
Message-ID: <20180302165349.7b64fa53@karo-electronics.de> (raw)
In-Reply-To: <CAP+B+qCdhNtMSXErjgvtzsV_ydrxS78HVqRu=QNkXrxSTD7+DA@mail.gmail.com>

Hi,

On Thu, 1 Mar 2018 13:55:19 -0600 Mariano Coromac wrote:
> I found the problem. In my header file I was reading from eMMC device 1.
> Not 0. That's why the operations with mmc worked in command line but did
> not on startup.
> Please correct me if I'm mistaken but I have a couple questions.
> 1) Do I need a partition in my eMMC in order to boot the Linux kernel?
> When I run "mmc part" it shows no partition at all.
> 2) When U-Boot finishes compiling it generates a .dtb with the name of my
> custom board. I need to write this file (alongside zImage) inside my eMMC
> for my Linux Kernel to boot right?
> When I try to boot the kernel it hangs in here:
> => boot
> reading p_a5_tab_reva.dtb
> 13699 bytes read in 18 ms (743.2 KiB/s)
> reading zImage
> 3749624 bytes read in 298 ms (12 MiB/s)
> ## Flattened Device Tree blob at 21000000
>    Booting using the fdt blob at 0x21000000
>    Loading Device Tree to 27b7d000, end 27b83582 ... OK
> 
> Starting kernel ...
> 
> What do you think of this? Perhaps is regarding the kernel itself or maybe
> is a UBoot configuration?
>
My guess is that the fdt is out of reach for the kernel.
Try setting the fdt_high variable to limit the range where U-Boot will
copy the fdt.
fdt_high=ffffffff will prevent copying the fdt at all, other values
specify the upper limit for the memory address where the fdt will end
after copying.


Lothar Waßmann

  reply	other threads:[~2018-03-02 15:53 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAP+B+qCMvQQBAGPaZ73UkKV2GpwoYx-OKVjjmLjB420fgwCEKA@mail.gmail.com>
2018-02-12 14:59 ` [U-Boot] U-Boot Marek Vasut
2018-02-12 15:13   ` Mariano Coromac
2018-02-12 15:28     ` Marek Vasut
2018-02-12 16:28       ` Mariano Coromac
2018-02-12 16:39         ` Nicolas Ferre
2018-02-12 17:13           ` Mariano Coromac
2018-02-13  8:37             ` Nicolas Ferre
2018-02-13 16:00               ` Mariano Coromac
2018-02-13 17:29                 ` Simon Glass
2018-02-13 22:23                   ` Mariano Coromac
2018-02-14  3:09                     ` Simon Glass
2018-02-14 14:54                       ` Mariano Coromac
2018-02-14 18:34                         ` Mariano Coromac
2018-02-14 21:27                           ` Mariano Coromac
2018-02-26 17:09                             ` Mariano Coromac
2018-02-27  1:55                               ` Yang, Wenyou
2018-02-27 16:55                                 ` Mariano Coromac
2018-02-28  1:24                                   ` Yang, Wenyou
2018-02-28 22:15                                     ` Mariano Coromac
2018-03-01 19:55                       ` Mariano Coromac
2018-03-02 15:53                         ` Lothar Waßmann [this message]
2018-03-02 17:58                         ` Nicolas Ferre
2018-03-05 22:15                           ` Mariano Coromac
2017-01-12 16:45 [U-Boot] u-boot adam.davis at stfc.ac.uk
2017-01-13  8:56 ` Michal Simek
  -- strict thread matches above, loose matches on Subject: below --
2016-06-23 14:15 Venky Venkatesh
2016-06-23 18:23 ` Wolfgang Denk
2016-06-24  3:04 ` Venky Venkatesh
2016-06-24  6:33   ` Wolfgang Denk
2015-04-17 14:16 [U-Boot] U-Boot wehner.junior at googlemail.com
2011-08-05 11:48 [U-Boot] U-BOOT Rajeev Rao Battu
2011-08-05 13:03 ` Albert ARIBAUD
2011-06-20 11:08 [U-Boot] U-Boot Yash Jain
2011-06-20 11:27 ` Wolfgang Denk
2010-08-29  2:12 [U-Boot] u-boot Ò»ºÅ º«
2010-08-30  9:13 ` Detlev Zundel

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=20180302165349.7b64fa53@karo-electronics.de \
    --to=lw@karo-electronics.de \
    --cc=u-boot@lists.denx.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