Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBBMini project needs an update #47

Open
Seeelefant opened this issue Jan 22, 2022 · 16 comments
Open

BBBMini project needs an update #47

Seeelefant opened this issue Jan 22, 2022 · 16 comments

Comments

@Seeelefant
Copy link

The kernel you reference to is outdated and leads to certificate errors. Choosing another kernel leads to endless problems with devicetrees and your BBBMini cape. Please update your repository as it is still a cool project!

@Seeelefant
Copy link
Author

Woke up this morning, and the streets were full of cars;
All bright and shiny like they'd just arrived from mars.
And as I stumbled through last night's drunken debris,
The paperboy screamed out the headlines in the street.
Another war, and now the pound is looking weak.
And tell me, have you read about the latest freak?
We're bingo numbers, and our names are obsolete.
Why do I feel bitter when I should be feeling sweet?
Hello, hello, turn your radio on;
Is there anybody out there?
Help me sing my song......

Honestly, BBBMini is a cool project, but urgently needs an update.

@timtuxworth
Copy link

Does this apply to the BeagleBone Blue as well?

@Seeelefant Seeelefant changed the title BBBMini preoject needs an update BBBMini project needs an update Mar 15, 2022
@Seeelefant
Copy link
Author

I cannot completely judge this, BeagleBone Blue is easier as sensors are connected only via I2C

@50-sys
Copy link

50-sys commented May 5, 2022

Any progress or clue on how the project can be updated?
If not, maybe we can debug some issues here if someone could explain the problem in more detail.
@Seeelefant @timtuxworth

@juvinski
Copy link

juvinski commented May 5, 2022

hi @50-sys

I had bbbmini/ardupilot running in more updated kernels, there are some issues:

  1. the dto should be changed a lot
  2. using config-pin utility I had an strange behavior - the spi interface doesn't recognize the spi bus at first run - I had to call a script to activate the bus before run the ardupilot code.
  3. even with a dto, after the boot the linux kernel is configuring/setting the pins, and I had to wait until it finish before run ardupilot - because if I start ardupilot while the linux is configuring the pins, the load average is too high and ardupilot is useless.

@juvinski
Copy link

juvinski commented May 6, 2022

hi @50-sys ,
I could run ardupilot + bbbmini with kernel 5.10-RT, and at least on the bench.
I'm using a customized dtb - what I didn't need the config-pin and all issues with the 5.4 kernel version has gone.
If you want to try just let me know.

@Seeelefant
Copy link
Author

Hi @juvinski, @50-sys, this is really good news. Might this be the starting point for an updated project?

@juvinski
Copy link

juvinski commented May 6, 2022

hi @Seeelefant ,

I believe would be a better option to update a little bit the bbbmini board.
Changing the IMU to the ICM20948, TJA1051 for canbus, buzzer circuit, power switch connector.
The mpu9250 has reached the EOL and is not working with fast reading.
The TJA I have better results.
The buzzer is self explained.
For me, it's impossible to press the beagle power switch.

@Seeelefant
Copy link
Author

So this would be bigger project, seems that also the board needs an update?

@juvinski
Copy link

juvinski commented May 8, 2022

Hi @Seeelefant ,

in true I already have a board with a lot of improvements, but I can't share.
But I'm creating a DIY board with a lot of improvements, I'm calling this as BBBMINI V2.

  1. I replace the CAN for a breadboard(TJA 1051) instead CI and resistors and capacitors - to gain more space on the board.
  2. I remove the voltage divider for the receiver - I'm still considering this.
  3. I removed the Sonar and External SPI interface
  4. I added the buzer circuit and connected the Buzzer to a PWM output - I prefer the pwm playing music :)
  5. Added PullUP resitors for the I2C bus
  6. Added Power Button pinheader
  7. Update to use ICM-20948 instead MPU-9250

Some considerations I'm having:

  1. Add ABC leds
  2. Add voltage divider for rc input
  3. Add some GPIO pins for relay pins

This is the draft I have until now:
BBBMINI_PCB_V2

Any consideration will help.

Best regards.

@Seeelefant
Copy link
Author

Hi @juvinski,

sounds really cool. Please drop me a line once you are ready to share your BBBMINI V2, I´d be happy to help you with discussions, testing etc..

Best regards.

@safinwb
Copy link

safinwb commented May 12, 2022

hi @50-sys , I could run ardupilot + bbbmini with kernel 5.10-RT, and at least on the bench. I'm using a customized dtb - what I didn't need the config-pin and all issues with the 5.4 kernel version has gone. If you want to try just let me know.

Hey, I am interested in trying it out, will try to get actual tests on it.

@Seeelefant
Copy link
Author

Hi @safinwb, eagerly would like to try out your dtb-can you share it?

@juvinski
Copy link

Hi,

I started a repository: https://github.com/juvinski/BBBMINI_V2/
I'm traveling right now and I believe I can update the instructions - the DTB part - on next week and I will update you.
Basically, you need to clone the RCNelson repository - https://github.com/RobertCNelson/dtb-rebuilder/
under the 4.19 branch copy and save the file am335x-boneblack-bbbmini.dts, then change to branch 5.1.x, install the dtc and copy the am335x-boneblack-bbbmini.dts to the src/arm folder, in this point there are some adjustments with include folders and files, and after this adjustments compile andu se the am335x-boneblack-bbbmini.dtb on your uEnv file.

@safinwb
Copy link

safinwb commented May 17, 2022

@juvinski thanks this helps, I will start testing it out on my board. Probably will keep older components

@juvinski
Copy link

Hi @safinwb and @Seeelefant

I updated the dts file for bbmini and updathe the instructions:
https://github.com/juvinski/BBBMINI_V2/blob/main/Docs/Software.md#compiling-and-loading-dto-for-bbbmini
If you could test the procedure.

  • After my customization of the board I will try to send the bbbmini dts for the mainline to remove this procedure - but for now, must be manually downloaded, compiled and installed.

best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants