Re: [U-Boot] Is somebody workin on getting the AT91SAM9G45EKES working on the latest build?

Bill,
On 06/30/2011 02:10 PM, William C. Landolina wrote:
Alex - If there is anything I can do to help please let me know. I've been roughly patching the various builds for a while and really would like to see this get back in the mainline.
I will send my patch set in a few moments; just a few more things and it should be a good start. I have a few questions...
1 What boot strapper are you using? The default at91bootstrapper that you can download from the linux4sam web site?
2 Are you booting from NAND?
3 How far have you gotten with your patching? Does everything work? For me, I have all of my hardware up and running (including the second bank of RAM which seemed like it was not supported before).
4 I presume your booting into Linux after U-Boot?
Best regards, Alex

Bill,
On 06/30/2011 02:10 PM, William C. Landolina wrote:
Alex - If there is anything I can do to help please let me know. I've been
roughly patching the various builds for a while and really would like to see this get back in the mainline.
I will send my patch set in a few moments; just a few more things and it should be a good start. I have a few questions...
1 What boot strapper are you using? The default at91bootstrapper that you can download from the linux4sam web site?
I start with Atmel's vanilla first stage boot from NAND. I have a much hacked SDCard boot that works as well and that is where I want to head. My target systems do not have NAND or Dataflash. (I can put NAND on my boards for development but I do not want to ship with NAND.)
2 Are you booting from NAND?
I currently boot from NAND - the features I want to get from the current version is booting from, and environment on, SDCard. I hacked that into the December release but it was a hack - the environment was at fixed sector offsets on the SDCard which required building the partition table by hand. Long term I want to get the environment in a file on the SDCard.
3 How far have you gotten with your patching? Does everything work? For me, I have all of my hardware up and running (including the second bank of RAM which seemed like it was not supported before).
I hacked the December release to work, but I know I did some things in the wrong places and in a style that is not Wolfgang-compatible. I stopped working on improving the December release because it was clear that a lot of good things were happening to the MMC framework and the underlying AT91 framework was in flux so it seemed like a good idea to wait until that stabilized before I revisit putting a modern U-Boot on my boards "the right way".
I only have one bank of RAM on my custom target so I didn't test the second bank. On my targets the other EBI interface runs a bunch of slow peripherals.
4 I presume your booting into Linux after U-Boot?
Yes, I'm booting Linux 2.6.30 or so.
Best regards, Alex
-- Alex Waterman Computer Engineer Phone: 215-896-4920 Email: awaterman@dawning.com
Enjoy, Bill.

Bill,
On 06/30/2011 04:54 PM, William C. Landolina wrote:
I start with Atmel's vanilla first stage boot from NAND. I have a much hacked SDCard boot that works as well and that is where I want to head. My target systems do not have NAND or Dataflash. (I can put NAND on my boards for development but I do not want to ship with NAND.)
I see. I have not tried any of the MMC u-boot stuff for my board (a sam9m10g45ek).
I hacked the December release to work, but I know I did some things in the wrong places and in a style that is not Wolfgang-compatible. I stopped working on improving the December release because it was clear that a lot of good things were happening to the MMC framework and the underlying AT91 framework was in flux so it seemed like a good idea to wait until that stabilized before I revisit putting a modern U-Boot on my boards "the right way".
Ahh, Wolfgang compatible :). I still haven't really figured out exactly what is actually correct with the AT91 framework code yet. I just started playing with this a few weeks ago. There was a patch a little which back which was the reference implementation for the AT91 framework, but I could not find it when I searched my mail box.
I only have one bank of RAM on my custom target so I didn't test the second bank. On my targets the other EBI interface runs a bunch of slow peripherals.
Ah, so dual RAM is no matter for you.
Which config header are you using? Naturally, I am using the sam9m10g45ek header, but since you have a slightly different board, which doesn't appear to have a header, how did you proceed?
Best regards, Alex

Bill,
On 06/30/2011 04:54 PM, William C. Landolina wrote:
I start with Atmel's vanilla first stage boot from NAND. I have a much hacked SDCard boot that works as well and that is where I want to head. My target systems do not have NAND or Dataflash. (I can put NAND on my boards for development but I do not want to ship with NAND.)
I see. I have not tried any of the MMC u-boot stuff for my board (a sam9m10g45ek).
I hacked the December release to work, but I know I did some things in the
wrong places and in a style that is not Wolfgang-compatible. I stopped working on improving the December release because it was clear that a lot of good things were happening to the MMC framework and the underlying AT91 framework was in flux so it seemed like a good idea to wait until that stabilized before I revisit putting a modern U-Boot on my boards "the right way". Ahh, Wolfgang compatible :). I still haven't really figured out exactly what is actually correct with the AT91 framework code yet. I just started playing with this a few weeks ago. There was a patch a little which back which was the reference implementation for the AT91 framework, but I could not find it when I searched my mail box.
I only have one bank of RAM on my custom target so I didn't test the
second bank. On my targets the other EBI interface runs a bunch of slow peripherals. Ah, so dual RAM is no matter for you.
Which config header are you using? Naturally, I am using the sam9m10g45ek header, but since you have a slightly different board, which doesn't appear to have a header, how did you proceed?
I start with the 9G45EKES headers and throw things out. My board is an EKES minus a lot of things - It is just a 9G45 with single bank RAM, SDCard and serial ports. No display, dataflash, codec, or NAND. I have USB ports on the board but don't need or want it in U-Boot. I do have some interesting peripherals hanging off the second EBI but they don't come into play at U-Boot time.
Using a stock EKES U-Boot on my board will work - nothing bad happens on my board if U-Boot turns on the display controller for example.
I do have an official Atmel AT91SAM9G45-EKES for testing as well. [And 9260 and 9G20 versions in the closet as well]. When testing U-Boot I get the Atmel board working then I start whittling down the configuration to fit my board.
Best regards, Alex
Thanks, Bill.
participants (2)
-
Alex Waterman
-
William C. Landolina