public inbox for sig-arm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: sig-arm@lists.ipfire.org
Subject: Re: News on Utilite?
Date: Wed, 15 Jan 2014 16:19:01 +0100	[thread overview]
Message-ID: <1389799141.19959.69.camel@rice-oxley.tremer.info> (raw)
In-Reply-To: <52D408B4.5020706@compulab.co.il>

[-- Attachment #1: Type: text/plain, Size: 2590 bytes --]

Hello guys,

thank you for writing back. As you said, I updated u-boot on my unit to
version 2009.08-cm-fx6-0.91+tools (Nov 19 2013). The issue remains the
same that I cannot boot an other u-boot from SD card which is what I
need to find out why the kernel is not booting properly.

First, let's talk about the u-boot SD card issue:

U-Boot 2009.08-cm-fx6-0.91+tools (Nov 19 2013 - 14:56:48)

CPU: Freescale i.MX6 family TO6.4 at 792 MHz
Temperature:   39 C, calibration data 0x5b152a69
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 11000000Hz
Board: CM-FX6:[ WDOG ]
Boot Device: SPI NOR
I2C:   ready
RAM Configuration:
Bank #0: 10000000  1 GB
Bank #1: 80000000  1 GB
NAND:  No NAND device found!!!
0 MiB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2
JEDEC ID: 0xbf:0x25:0x41
Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x17e030e0
SUCCESS

In:    serial
Out:   serial
Err:   serial
Net:   got MAC address from IIM: 00:00:00:00:00:00
FEC0
Hit any key to stop autoboot:  0 
CM-FX6 #   

That is the output of the bootloader inside the SPI. It says:

  Boot Device: SPI NOR

I believe that this should be "SD" card.

On the utilite forums, there is a thread where people have exactly the
same problem:
http://www.utilite-computer.com/forum/viewtopic.php?f=66&t=1465

----

Why do I need to re-compile u-boot? Your version passes a board id to
the kernel and it appears that the kernel won't boot with the device
tree file that was passed to it.

Possibly, this can be solved by this change:

[root(a)hokey u-boot]# git diff
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index f46980d..91ffcdf 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -805,7 +805,7 @@ int board_init(void)
        setup_boot_device();
 
        /* board id for linux */
-       gd->bd->bi_arch_number = MACH_TYPE_CM_FX6;
+       //gd->bd->bi_arch_number = MACH_TYPE_CM_FX6;
 
        /* address of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;


But as long as I cannot test it am not too sure about how the kernel
behaves.

So, please can you look into this and find out if there is a way to get
my device booting u-boot from SD card?

-Michael


  reply	other threads:[~2014-01-15 15:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAEVn7dmsxtBwmYdxw2spJKc0YwBG3kV9ny1x2sevvnY0X=zLLg@mail.gmail.com>
2014-01-12 17:49 ` Michael Tremer
2014-01-12 18:33   ` Christer Solskogen
2014-01-12 19:03     ` Michael Tremer
2014-01-13 15:39       ` Igor Grinberg
2014-01-15 15:19         ` Michael Tremer [this message]
2014-01-16  8:49           ` Christer Solskogen
2014-01-16  9:21             ` Michael Tremer
2014-01-16  8:50           ` Igor Grinberg
2014-01-16  9:20             ` Michael Tremer
2014-01-16  9:57               ` Igor Grinberg
2014-01-16 10:31                 ` Michael Tremer
2014-01-16 11:26                   ` Igor Grinberg
2014-01-13  8:57   ` Christer Solskogen
2014-01-13 11:37     ` Michael Tremer

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=1389799141.19959.69.camel@rice-oxley.tremer.info \
    --to=michael.tremer@ipfire.org \
    --cc=sig-arm@lists.ipfire.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox