[Q] Where can I add boot parameter in Latest (linux 4.0)?

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[Q] Where can I add boot parameter in Latest (linux 4.0)?

Postby chunsj » Tue Jun 23, 2015 11:36 pm

Hi,

I've installed archlinux on my BBB following installation documents and this time
there is no FAT partition where uEnv.txt is.

How can I add boot parameter with this latest distribution?

Thank you in advance.
chunsj
 
Posts: 5
Joined: Tue Jan 21, 2014 1:23 pm

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby WarheadsSE » Wed Jun 24, 2015 4:20 pm

I don't think we are using the FAT partition anymore.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby razer » Sat Jul 04, 2015 5:15 am

Don't think you answer the question...

As I understand and what I guess about arch install in BBB:

  • Latest wiki is about installing without fat16 partition for u-boot
  • This method works but uEnv.txt is not readed in this case
  • On the other hand, GPIO (bones) are not working with 4.0 kernel, nor with linux-ti kernel
  • The only kernel that provides full support of the BBB is the linux-am33x-legacy-3.8.13
  • This version is quite old, and has been replaced in official tree by linux-ti
  • As a conclusion, Arch BBB support is far from good
razer
 
Posts: 11
Joined: Sat May 30, 2015 9:08 am

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby WarheadsSE » Sat Jul 04, 2015 12:31 pm

Do you see that -legacy at the end? Update it to a non-legacy kernel. Hint, it has the same name, minus -legacy. You could even check the compatibility of the mainline kernel.

Here is the PKGBUILD for the u-boot on the system, check what is going on via serial if you think it is having a problem. Investigate, don't point fingers.

The support is fine, your assumptions seem to be off.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby razer » Sun Jul 05, 2015 5:53 am

Pointing fingers doesn't mean blaming someone. And if something don't work as espected, guess we have to point...
I have no time to investigate more on what's going on, but the issues I'm talking about exists for sure
And don't think I misunderstood what free software is, I'm using it since more than 20 years, I know that is only working with my small contribution, reporting bugs, patching...
Thing is I'm a lot busy with other free software things like arduino project and a IOT platform using django, with no time left for understanding why I can't use beagle UART with the kernel version arch gives me by default, and even with the legacy version and no fat16 partition (following wiki) because the lack of uEnv.txt support in this case. Period
razer
 
Posts: 11
Joined: Sat May 30, 2015 9:08 am

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby WarheadsSE » Sun Jul 05, 2015 1:08 pm

You can't use the serial pins? (not the UART over OTG)

(dismissing the topic of FOSS, I never mentioned that, and lets get back to the problems, eh?)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby razer » Mon Jul 06, 2015 6:50 am

In order to have GPIO support, capemgr is needed. The only kernel I found providing working capes for the BBB was the legacy version.

In order to use the first serial UART from GPIO, you need to pass kernel arguments at boot : capemgr.enable_partno=BB-UART1. This is done via uEnv.txt file, but the only away I found to have this file readed at boot is to create a 96M fat16 partition at the begining of the internal MMC, and then store in it uEnv.txt and u-boot.img.

Here are the reasons of my relative frustration. The big concern imho is that neither the wiki method, nor the default packaging of arch armv7 provides full BBB support. On the other hand, no other distribution can give the cleaner and flexible system arch provides however...

Appreciate your concern and apologise for being rude in some way

Cheers
razer
 
Posts: 11
Joined: Sat May 30, 2015 9:08 am

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby WarheadsSE » Mon Jul 06, 2015 7:14 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby razer » Tue Jul 07, 2015 6:22 am

UART0 seems to be usefull for debugging and recovering. Other UARTs are part of full usable GPIO headers I'm using.

I need GPIO, people need GPIO : seems to be the main goal for BBB and rPi to be able to use it
razer
 
Posts: 11
Joined: Sat May 30, 2015 9:08 am

Re: [Q] Where can I add boot parameter in Latest (linux 4.0)

Postby WarheadsSE » Tue Jul 07, 2015 2:09 pm

Right, right. I am saying please check the uboot output at bootup where-in you're seeing issues with it "not loading uEnv.txt".
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 8 guests