Re: Raw binary Image of linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ,

I perform the following steps to run linux kernel on imx6:

Download 3.18 kernel from www.kernel.org
Make steps:
make CROSSarm-linux-gnueabi- ARCH=arm imx_v6_v7_defconfig
make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm uImage LOADADDR=10001000

cp linux-3.18.4/arch/arm/boot/uImage Sd_card
Run uImage on the imx6 board...
 
Output :

## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.18.4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5445640 Bytes =  5.2 MB
   Load Address: 10001000
   Entry Point:  10001000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...


what could be the problem in this ? why Is this kernel not able start on imx6 platform ?

Thanks in advance,
Regards,

Chirag Garg
IIT Madras , Rise Lab

On Mon, Mar 9, 2015 at 11:01 PM, <victorascroft@xxxxxxxxx> wrote:
Hello,

On 15-03-09 21:53:34, chirag garg wrote:
> Hello,
>
> On Mon, Mar 9, 2015 at 9:01 PM, <victorascroft@xxxxxxxxx> wrote:
>
> > Hello,
> >
> > On 15-03-09 11:20:55, chirag garg wrote:
> > > Hi all,
> > >
> > > I am new to the linux kernel source code. I want to compile linux source
> > > code for imx6 ARM based platform.
> > > I want to generate  raw binary image (.bin file) and .dtb file. Can any
> > one
> > > help me in this.?
> >
> > Which iMX6 platform is this? Depending on the platform, it would be as
> > simple as doing make imx_v6_v7_defconfig and then using the correct dtb
> > for the platform. Boards like Nitrogen, Sabre or Wandaboard should boot
> > easily with the recent kernels.
> >
> > I am using freescale imx6 quad core saberlite board. Available on the
> freescale site
> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q
>
> Where should be this dtb available according to the board. I am trying to
> boot 3.14 linux kernel.

The DTS files for all ARM boards are available in the following
directory

http://lxr.free-electrons.com/source/arch/arm/boot/dts/?v=3.14

http://lxr.free-electrons.com/source/arch/arm/configs/imx_v6_v7_defconfig?v=3.14

imx_v6_v7_defconfig is the config file for imx platform.

-Regards,
Sanchayan.

>
>
> > Do you have a custom board or one of those easily available development
> > platforms?
> >
> > Board is easily available in the market.
>
>
> > - Regards,
> > Sanchayan..
> >
> > >
> > > Thanks in advance
> > > Regards
> > >
> > > Chirag Garg
> > > IIT Madras , Rise Lab
> >
> >
> Regards
> Chirag Garg
> IIT Madras , Rise Lab
>
>
> > > _______________________________________________
> > > Kernelnewbies mailing list
> > > Kernelnewbies@xxxxxxxxxxxxxxxxx
> > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> >

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux