linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Jackson <mpfj-list@mimc.co.uk>
To: "Hiremath, Vaibhav" <hvaibhav@ti.com>
Cc: Domenico Andreoli <cavokz@gmail.com>,
	Daniel Mack <zonque@gmail.com>, Tony Lindgren <tony@atomide.com>,
	"Hilman, Kevin" <khilman@ti.com>, Paul Walmsley <paul@pwsan.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: Current state of AM33xx patches
Date: Fri, 29 Jun 2012 15:20:45 +0100	[thread overview]
Message-ID: <4FEDB9BD.7060405@mimc.co.uk> (raw)
In-Reply-To: <79CD15C6BA57404B839C016229A409A83EA5B7DE@DBDE01.ent.ti.com>

On 27/06/12 13:07, Hiremath, Vaibhav wrote:
> 
> Omap2plus_defconfig should work for you, you should get linux prompt with 
> ramdisk image (which I use). Just to be more clear, and for your reference I am pasting steps which I use for testing, 
> 
> Build Steps:
> ============
>  - make ARCH=arm CROSS_COMPILE=<toolchain> distclean
>  - make ARCH=arm CROSS_COMPILE=<toolchain> omap2plus_defconfig
>  - Enable option CONFIG_ARM_APPENDED_DTB and CONFIG_ARM_ATAG_DTB_COMPAT
>  - make ARCH=arm CROSS_COMPILE=<toolchain> uImage-dtb.am335x-evm
>    (Since I am not using DT aware u-boot)
> 
> Use the ramdisk image to boot kernel, since we do not have support for any 
> storage devices in the mainline.
> 
> U-Boot commands to boot:
> ========================
> setenv bootcmd 'mmc rescan 0; fatload mmc 0 81000000 uImage; fatload mmc 0 82000000 ramdisk-pm.gz; bootm 81000000'
> setenv bootargs 'console=ttyO0,115200n8 mem=128M root=/dev/ram rw initrd=0x82000000,16MB ramdisk_size=65536 earlyprintk=serial'
> boot
> 
> 
> Hope this will help you to boot the kernel on BeagleBone.

This does appear to work using the ramdisk, but there seems to be no support for booting off MMC.

Here's a section from my boot log:-

[    1.526156] omap_hsmmc mmc.18: Failed to get debounce clk
[    1.577266] omap_hsmmc mmc.19: Failed to get debounce clk
[    1.583961] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    1.600184] mmc0: host doesn't support card's voltages
[    1.605606] mmc0: error -22 whilst initialising SD card
[    1.639743] omap_hsmmc mmc.20: Failed to get debounce clk
[    1.646051] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    1.694232] mmc2: mmc_rescan_try_freq: trying to init card at 400000 Hz

AFAIKT there's no direct support for the AM335x EVM or BeagleBone, and we're just running off
existing non-specific code.

Buildroot currently references koenkooi repo[1], which has a large number of code changes to add
proper support, and we have a nice working system running on a BeagleBone.

But, going back to some other previous emails in this thread, the Wiki[2] states many of the support
required will only be put into the mainline kernel at 3.7.

Is this still the case ?  Or is it possible that the koenkooi code will be pushed up earlier ?

All in all, the AM335x code does seem to be very fragmented.  Is that just because these are
non-trivial changes going in ?

Cheers
Mark Jackson

[1] https://github.com/koenkooi/linux
[2] http://processors.wiki.ti.com/index.php/Sitara_Linux_Upstream_Status

  parent reply	other threads:[~2012-06-29 14:38 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11  9:28 Current state of AM33xx patches Daniel Mack
2012-06-11 13:51 ` Jason Kridner
2012-06-11 14:21   ` Hernandez, Carlos
2012-06-18  8:15   ` Hiremath, Vaibhav
2012-06-21 13:50     ` Daniel Mack
2012-06-25 18:17       ` Daniel Mack
2012-06-26 11:42         ` Sekhar Nori
2012-06-27 12:13           ` Hiremath, Vaibhav
2012-06-28 15:09             ` Daniel Mack
2012-06-29 13:54               ` Yegor Yefremov
2012-06-29 17:43                 ` Hiremath, Vaibhav
2012-07-02 12:56                   ` Yegor Yefremov
2012-06-29 17:33               ` Hiremath, Vaibhav
2012-06-29 18:34                 ` Daniel Mack
2012-06-29 18:47                   ` Hiremath, Vaibhav
2012-06-30  2:11                   ` Paul Walmsley
2012-06-30  9:33                     ` Daniel Mack
2012-07-04 10:07                       ` Paul Walmsley
2012-07-04 10:50                         ` Hiremath, Vaibhav
2012-07-04 11:22                           ` Daniel Mack
2012-07-05 17:45                             ` N, Mugunthan V
2012-07-23  6:30                               ` Daniel Mack
2012-07-23 16:36                                 ` N, Mugunthan V
2012-07-26 14:52                                   ` Daniel Mack
2012-07-26 15:00                                     ` Koen Kooi
2012-07-26 15:58                                       ` Daniel Mack
2012-07-26 16:09                                         ` Koen Kooi
2012-07-26 17:46                                           ` Daniel Mack
2012-07-31 19:29                                             ` Koen Kooi
2012-08-02 15:30                                               ` Daniel Mack
2012-08-02 15:37                                                 ` Koen Kooi
2012-08-02 17:19                                                   ` Daniel Mack
2012-08-02 19:56                                                   ` Daniel Mack
2012-08-02 20:20                                                     ` Koen Kooi
2012-08-03 10:17                                                   ` N, Mugunthan V
2012-08-03  5:25                                                 ` N, Mugunthan V
2012-06-11 14:15 ` Vaibhav Hiremath
2012-06-23 13:03   ` Domenico Andreoli
2012-06-27 12:07     ` Hiremath, Vaibhav
2012-06-27 18:31       ` Paul Walmsley
2012-06-27 19:01         ` Hiremath, Vaibhav
2012-06-27 19:12           ` Paul Walmsley
2012-06-27 19:21             ` Hiremath, Vaibhav
2012-06-27 19:37               ` Paul Walmsley
2012-06-27 20:00               ` Paul Walmsley
2012-06-27 20:56                 ` Hiremath, Vaibhav
2012-06-27 21:13                   ` Paul Walmsley
2012-06-27 21:44                   ` Paul Walmsley
2012-06-29 14:20       ` Mark Jackson [this message]
2012-06-29 17:56         ` Hiremath, Vaibhav
2012-07-02  8:04           ` Mark Jackson

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=4FEDB9BD.7060405@mimc.co.uk \
    --to=mpfj-list@mimc.co.uk \
    --cc=cavokz@gmail.com \
    --cc=hvaibhav@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=tony@atomide.com \
    --cc=zonque@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).