BBBMINI icon indicating copy to clipboard operation
BBBMINI copied to clipboard

BBBMini project needs an update

Open Seeelefant opened this issue 3 years ago • 16 comments

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 avatar Jan 22 '22 11:01 Seeelefant

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.

Seeelefant avatar Mar 12 '22 22:03 Seeelefant

Does this apply to the BeagleBone Blue as well?

timtuxworth avatar Mar 15 '22 05:03 timtuxworth

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

Seeelefant avatar Mar 15 '22 22:03 Seeelefant

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

50-sys avatar May 05 '22 11:05 50-sys

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 avatar May 05 '22 15:05 juvinski

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.

juvinski avatar May 06 '22 05:05 juvinski

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

Seeelefant avatar May 06 '22 07:05 Seeelefant

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.

juvinski avatar May 06 '22 13:05 juvinski

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

Seeelefant avatar May 06 '22 15:05 Seeelefant

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.

juvinski avatar May 08 '22 06:05 juvinski

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.

Seeelefant avatar May 08 '22 21:05 Seeelefant

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.

safinwb avatar May 12 '22 10:05 safinwb

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

Seeelefant avatar May 13 '22 10:05 Seeelefant

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.

juvinski avatar May 17 '22 04:05 juvinski

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

safinwb avatar May 17 '22 10:05 safinwb

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.

juvinski avatar May 24 '22 23:05 juvinski