Added board configs for Aria G25 from Acme Systems#2
Conversation
|
Hello, |
|
@jbro There are a bunch of things in Sergio's fork that you didn't add such as the defaults in Config.in. Why did you leave those out? They look to be pretty critical, e.g. default "0x8000000" if CONFIG_AT91SAM9X5EK || CONFIG_AT91ARIAG25 || CONFIG_AT91SAM9N12EK There are three other changes in that file as well. I understand why you left out the changes in load_kernel.c (not necessary anymore) and ddramc.c (should be added later I think). I'm going to start pushing on the devs of the main repo to see why they won't pull your changes, but I'd like to make sure we have as much as possible included in the pull first. |
|
That does seems important,but I think that change came in after I did my clean up. What I specifically did, was to take a diff between linux4sam/at91bootstrap and tanzilli/at91bootstrap, and remove everything that wasn't configuration specific. Because I didn't want to take credit for any improvements tanzilli did to at91bootstrap. I'll redo the process to get in the most recent changes to tanzilli's repos. And maybe do the ddram change as a different pull request. |
release v3.6.0 Conflicts: Config.in
fixed issues in Config.in and at91ariag25.c
|
Have you been working on adding support for programming the MAC address? If so, do you need any help? I'm interested in reading the MAC address from a I2C EEPROM and setting it from the bootstrap. If someone is leading the effort and is looking for additional contributions, let me know. |
|
@evensonbryan isn't it a task for the next bootloader (u-boot or barebox) to retrieve a MAC address? I also think that we can pass it to the Linux kernel into the property of Device Tree. |
|
@jbro It seems that the fixes included in this pull request are already included in the latest revision of AT91Bootstrap. Am I right? |
|
@noglitch the fixes in this pull-request should be Aria G25 support only (there are some other changes at @tanzilli's repo, however I don't think I have the necessary insight to evalute them. With regards to including non-Atmel boards, I think it would be very useful, so people don't have keep track of multiple repos and patch-sets. |
|
U-Boot and barebox are capable of passing a MAC address to the kernel via the Device Tree, but I'm unaware of any feature in either to read an EEPROM to figure out what the MAC address should be. For example, tell U-Boot that the MAC address for eth0 resides at address 0x60 on the I2C EEPROM at I2C address 0x2 (or at address 0x30 of the SPI EEPROM at SPI chip select 1). That way for a production setup, each board can self-discover its MAC address. Is there a feature like that in U-Boot or barebox? Or, is there one being worked on that is planned? If none existed, I was considering working on adding it to the at91bootstrap since it can boot directly to the Linux kernel. For our production setup, U-Boot and barebox aren't adding much functionality and add a couple seconds to boot time; may as well bypass them if we don't need them. |
|
Hello, this patch of Sergio Tanzilli https://raw.githubusercontent.com/AcmeSystems/acmepatches/master/at91bootstrap-3.7.patch is not usable: patching file board/Config.in patching file driver/ds24xx.c Solution:
board/at91sam9x5_aria/Config.inconfig CONFIG_AT91SAM9X5_ARIA board/at91sam9x5_arietta/Config.inconfig CONFIG_AT91SAM9X5_ARIETTA board/sama5d3_acqua/Config.inconfig CONFIG_SAMA5D3_ACQUA
#elif defined(CONFIG_AT91SAM9X5_ARIA) #elif defined(CONFIG_AT91SAM9X5_ARIETTA) I Hope I was clear |
|
and than when compile, |
|
Hi, You patch file is not based on the AT91Bootstrap latest version. The right way, I think, fetch the latest one for your base to develop your own board. It is based on the latest version, v3.8-beta1. BTW, there is a dedicated directory, contrib, for the contributions from the customers. I strongly suggest to put your board code under this directory. Thank you for your support. Best Regards, |
Update ds24xx.c
|
Acme systems boards are now included in the "contrib" directory. |
Extracted from Acme Systems fork:
https://github.com/tanzilli/at91bootstrap