All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] Weird issues with u-boot on Microblaze
Date: Thu, 20 Aug 2009 22:57:26 +0200	[thread overview]
Message-ID: <4A8DB8B6.5030206@monstr.eu> (raw)
In-Reply-To: <4A8D8639.3030504@calpoly.edu>



Dana Goyette wrote:
> Michal Simek wrote:
>> Hi,
>>
>>
>>
>> FIT support is not in mainline u-boot. Only in my testing repository.
>>
>>> If I fix that and try to load a FIT image with a kernel and device-tree,
>>> the bootm command completely ignores the device tree; unfortunately,
>> Yes the same thing as with FIT. Not in mainline yet. Simple no time. But
>> I have patches in my tree and I want to send them to next merge open window.
>>
>>
>>
>>> I
>>> don't have a log of this on hand, because now even image loading has
>>> broken somehow.  For example, fatls ace 0 gives "   131074   \x02.\x02 ", and
>>> attempting DHCP boot results in a spew of "ARP Retry count exceeded;
>>> starting again" -- retry count exceeded, despite it never having tried
>>> even once?
>> I'll test it.
>>
>>
>>> I've attached a log of the console output under both conditions, as well
>>> as the config.mk and xparameters.h under microblaze_generic; for some
>>> reason, the given U-Boot BSP assumes 100MHz, despite the board using
>>> 125MHz.  Does anyone have advice for getting u-boot to work on this board?
>>>
>> I have fix for u-boot bsp which fix it. The same issue is for uart16550.
>>
>> I am going to update my git repo at http://git.monstr.eu/git/gitweb.cgi
>> There will be updated u-boot bsp too.
>>
>> Thanks,
>> Michal
>>
>>
>>> Thanks in advance for any help.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> http://lists.denx.de/mailman/listinfo/u-boot
>>
> 
> Thanks for the help!  I cloned your u-boot-microblaze repository, and 
> the same fit_hdr_t issues applied; now I'm also working out other 
> various issues. 

I have just updated that repo with my latest version. u-boot bsp is updated too. I tested fit some
month ago when was really new thing but I personally not add it to my workflow.
I am compiling generic platform with FIT support but not test it.


 If it would help, I can attach (or send) my project
> file or files, and even an image of the CompactFlash card I am using -- 
> it's a 1GB card, with a 100MB fat16 and the rest in ext2.  Oddly enough, 
> ext2ls just plain returns silently.

If you have edk project, I can take a look or try to generate files.
(If you want send it to me in private email and not to bother u-boot mailing list)
Sorry I don't have a 1GB CF and time to debug it just for fun. I had one project in past
with systemace and CF and I had no problem to list/use both partitions.


> 
> u-boot-microblaze/drivers/mtd/cfi_flash.c:2088: undefined reference to 
> `monitor_flash_len'

this code can't be compiled - you have bad setting. MONITOR_BASE is always on lower address then
FLASH address. Check that your ram on lower address than your flash - this is check by u-boot.bsp too.

> 
> I've also noticed that the "top" BSP looks in the Xilinx install path 
> and the project path, but not the EDK user repository.

top bsp looks at bsp folder in hardware project, then all ModuleSearchPath which
are in xmp files and then take a look to edk patch for standalone bsp.
EDK user repository are in xmp as ModuleSearchPatch and bsp there should be used.


Regards,
Michal



> 
> Thanks again for the help.
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

  reply	other threads:[~2009-08-20 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 23:21 [U-Boot] Weird issues with u-boot on Microblaze Dana Goyette
2009-08-20  8:15 ` Michal Simek
2009-08-20 17:22   ` Dana Goyette
2009-08-20 20:57     ` Michal Simek [this message]
2009-08-24 18:53       ` Dana Goyette
2009-08-24 22:04         ` Michal Simek

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=4A8DB8B6.5030206@monstr.eu \
    --to=monstr@monstr.eu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.