u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [U-Boot] Fwd: Re:  Boot Linux kernel with initramfs fails
       [not found] <52D8F9CC.3090803@gmail.com>
@ 2014-01-17  9:46 ` Jean-baptiste DURONEA
  2014-01-17 11:07   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-baptiste DURONEA @ 2014-01-17  9:46 UTC (permalink / raw)
  To: u-boot

Dear Wolfgang Denk,

I forgot some explanations, sorry about that.

I refer to this problem :
http://lists.denx.de/pipermail/u-boot/2013-July/159055.html

First, I tried to boot linux with initramfs through u-boot, but I had
the same problem explained in my first post.

Here is a part of the config file used by my -boot :

  /* High Level Configuration Options */
#define CONFIG_ARMV7    /* This is armv7 Cortex-A9 CPU core */
#define CONFIG_MXC
#define CONFIG_MX6DL
#define CONFIG_MX6DL_DDR3
#define CONFIG_MX6DL_SABRESD
#define CONFIG_DDR_32BIT
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
#define CONFIG_MX6_CLK32       32768

/* Disable secure boot feature in default, if you want to enable this
  * feature, please carefully read related documents, you may needs to
  * change u-boot.lds */
#undef CONFIG_SECURE_BOOT

#define CONFIG_SKIP_RELOCATE_UBOOT

#define CONFIG_ARCH_CPU_INIT
#undef CONFIG_ARCH_MMU /* disable MMU first */
#define CONFIG_L2_OFF  /* disable L2 cache first*/

#define CONFIG_MX6_HCLK_FREQ    24000000

#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO

#define CONFIG_SYS_64BIT_VSPRINTF

#define BOARD_LATE_INIT

#define CONFIG_CMDLINE_TAG    /* enable passing of ATAGs */
#define CONFIG_SERIAL_TAG
#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define CONFIG_MXC_GPIO

initramfs is loaded in ram at 0x10C00000 by mfgtools, which is the
freescales's manufacturing tool.

I don't know which configuration I need to set on u-boot to tell him
initramfs is at address 0x10C00000, and consequently it hands on linux.

  I am really bloqued on this problem.
Can you give me some hints ?


Tanks a lot !

Regards,


Le 17/01/2014 07:16, Wolfgang Denk a ?crit :
> Dear Jean-baptiste DURONEA,
>
> In message <52D7D2F7.2050307@gmail.com> you wrote:
>> We made a custom board based on imx6solo.
>> I have the same problem !
> The same problem as what or who?  I cannot even guess...
>
>> I have some trouble booting linux kernel with initramfs. I built linux
>> kernel with CONFIG_BLK_DEV_INITRD, so Kbuild generates
>> usr/initramfs_data.cpio which is integrated into the kernel.
> ...
> ...
>> My kernel hangs after the last line, instead of doing "Freeing init
>> memory: ..." but I don't know if it comes from the same problem or not...
> Sorry, but I cannot see anything in your posting which might even
> remotely be related to U-Boot.  This is the U-Boot mailing list - your
> question is off topic here.
>
> Best regards,
>
> Wolfgang Denk
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails
  2014-01-17  9:46 ` [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails Jean-baptiste DURONEA
@ 2014-01-17 11:07   ` Wolfgang Denk
  2014-01-17 11:32     ` Jean-baptiste DURONEA
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2014-01-17 11:07 UTC (permalink / raw)
  To: u-boot

Dear Jean-Baptiste,

In message <52D8FBF8.2060106@gmail.com> you wrote:
> 
> I forgot some explanations, sorry about that.
> 
> I refer to this problem :
> http://lists.denx.de/pipermail/u-boot/2013-July/159055.html

And there you wrote:

| When I boot Linux kernel with FIT Image, the kernel does not unpacking initramfs.
| ( The root cause is "initrd_start is NULL".)
| 
| The initramfs is built-in with kernel, so I don't specify ramdisk in my
| kernel.its file.

initramfs handling is internal to Linux.  This is not a problem with
U-Boot.

Check how you build your kernel image and make sure the initramfs
image (and a working one) gets processed there.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Good morning. This is the telephone company. Due  to  repairs,  we're
giving  you  advance notice that your service will be cut off indefi-
nitely at ten o'clock. That's two minutes from now.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails
  2014-01-17 11:07   ` Wolfgang Denk
@ 2014-01-17 11:32     ` Jean-baptiste DURONEA
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-baptiste DURONEA @ 2014-01-17 11:32 UTC (permalink / raw)
  To: u-boot

I'll try to have linux support so.

Thank you.

Regards,


Le 17/01/2014 12:07, Wolfgang Denk a ?crit :
> Dear Jean-Baptiste,
>
> In message <52D8FBF8.2060106@gmail.com> you wrote:
>> I forgot some explanations, sorry about that.
>>
>> I refer to this problem :
>> http://lists.denx.de/pipermail/u-boot/2013-July/159055.html
> And there you wrote:
>
> | When I boot Linux kernel with FIT Image, the kernel does not unpacking initramfs.
> | ( The root cause is "initrd_start is NULL".)
> |
> | The initramfs is built-in with kernel, so I don't specify ramdisk in my
> | kernel.its file.
>
> initramfs handling is internal to Linux.  This is not a problem with
> U-Boot.
>
> Check how you build your kernel image and make sure the initramfs
> image (and a working one) gets processed there.
>
>
> Best regards,
>
> Wolfgang Denk
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-17 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <52D8F9CC.3090803@gmail.com>
2014-01-17  9:46 ` [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails Jean-baptiste DURONEA
2014-01-17 11:07   ` Wolfgang Denk
2014-01-17 11:32     ` Jean-baptiste DURONEA

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).