Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pyavitz committed Aug 10, 2020
1 parent 74b46fe commit e1aef69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
@@ -1 +1 @@
### Raspberry Pi ARM64 deb packages
### What you doing here?

35 comments on commit e1aef69

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the default username and password for M5?
(meson-sm1-bananapi-m5-devuan-chimaera-5.19.0-arm64-2022-08-03.img.xz)

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the default username and password for M5? (meson-sm1-bananapi-m5-devuan-chimaera-5.19.0-arm64-2022-08-03.img.xz)

Thats a good question, as it was a test img I made for someone. My guess would be, bpi:bpi.
Could also try root:toor but to be honest I'm not sure if I enabled that during the build.
If that doesn't work, I can upload another one that has username and passwd options.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suitable

bpi:bpi

OK

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

menu-config -> Software -> Home Assistant
Not installed. Can you solve this problem. It will be required...
Please...

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was added by @0n3man and it looks like the scripting doesn't take into account that you are running chimaera and not bullseye.

looks wrong:

echo 'deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian chimaera stable'

Also, doesn't HA require systemd?

You can open an issue concerning this at the hub or use Debian.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I will look for how to install Home Assistance... (This is just a problem for me. Since I worked with windows...)
Thank you for what you are doing!

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I will look for how to install Home Assistance... (This is just a problem for me. Since I worked with windows...) Thank you for what you are doing!

I see. I can make you a Debian img if you like and you can see if it works? Are you connecting to the BPI-M5 using a keyboard and monitor or are you using ssh?

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use ssh

I am interested in the possibility of installing Home Assistance Supervisor on bananapi m5. If this can be done on your Debian build, I will be very grateful and pleased with you. Do it if you don't mind...

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. I'll post it in a bit.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Will wait...

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two there. One preinstalled with network manager and the other has ifupdown only. Good luck!

https://github.com/pyavitz/binary/releases/tag/images

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I will try. I hope the password is the same.

bpi:bpi

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its the same

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2022-08-08_21-30-49
Everything was installed and working.
Thank you so much.

meson-sm1-bananapi-m5-debian-bullseye-5.19.0-nmtui-arm64-2022-08-08.img.xz

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just doubt the correctness of the choice of "Raspberrypi3-64".
Can you tell me what you need to choose for BananaPi M5 compatibility ...

2022-08-08_20-50-48

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you use Discord? I don't really know anything about HA and the guy who added the script is in the channel. https://discord.gg/mypJ7NW8BG
Plus I would like to ask you a question or two about the boards behavior, as I don't own one myself.

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is an Odroid C4 option I would go with that, since it is the exact same SoC. The Odroid C2 is an S905 and the BPI-M5 is a S905X3, so that is probs ur best bet. But that's just me guessing.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My English is poor.
Discord - Bural#9371
And yes, it does not start with eMMC. It will probably be necessary to drag the bootloader from another image ...

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So home assistant supervised install is only supported by the HA team on that limited set of hardware platforms. It has to be a debian bullseye install. I believe out the board optoins the odroid N2+ is by far the best platform for running HA. It should be more than fine on a 2G board, but I'd probably get a 4G board. I'd load it on an eMMC module. 16G eMMC is more than enough, but I'd probably go with 32 for future growth. Best place to get an odroid in the US is https://ameridroid.com/products/odroid-n2-plus?variant=32211327287330. I suspect it's possible to make it all run on the banana pi, but I've never looked into the details on why they make you identify the board you're using.

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainline u-boot. The binaries are different for SD and MMC, so to use eMMC one would need to make an img specific for it or... you can try and use the script I made. Run sudo write2mmc and see if it works. Like I said I don't have the board, but I added the support just in case someone was willing to try.

Question. Does the board reboot? If you do a sudo reboot does it work?

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo write2mmc
Ok

2022-08-09_00-04-50

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo reboot
Ok

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the sudo write2mmc command will transfer only system files or all files to eMMC. That is, if I set up Home Assistence on microSD and then I can transfer everything to eMMC?

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its suppose to detect, partition, mount and then transfer everything from the SD. It will then setup boot and then let you know its done. I would normally suggest someone do this before installing something like HA.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, everything worked out.
First I wrote the image to microSD
Inserted into BananaPi M5 and launched.
Login via SSH

bpi:bpi

After that I entered the command sudo write2mmc
Waited for completion (a few minutes - did not notice)
Then turned off. Removed MicroSD (all media)
Launched. How loaded. Login again via SSH
Adjusted the time zone and everything else.
Then

sudo su-
menu-config

Software -> Home Assistant
Ok and Yes
Then wait a few minutes for it to install.
At the end it asks to press ENTER.
Exit menu-config
Everything - Home Assistant installed
It will say that you need to restart.
Reboot with

sudo reboot

After the reboot, you need to wait 20 minutes until all the settings go through.
Completion will be announced at:

http://xxx.xxx.xxx.xxx:8123

That's all.
Thank you very much. I have tried many ways. But this one is the easiest and fastest.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And how to update in the future.
Commands:

sudo apt update
sudo apt upgrade

They will work?

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2022-08-09_11-18-21

@pyavitz
Copy link
Owner Author

@pyavitz pyavitz commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And how to update in the future. Commands:

sudo apt update
sudo apt upgrade

They will work?

yes, they will work.

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, everything worked out. First I wrote the image to microSD Inserted into BananaPi M5 and launched. Login via SSH

bpi:bpi

After that I entered the command sudo write2mmc Waited for completion (a few minutes - did not notice) Then turned off. Removed MicroSD (all media) Launched. How loaded. Login again via SSH Adjusted the time zone and everything else. Then

sudo su-
menu-config

Software -> Home Assistant Ok and Yes Then wait a few minutes for it to install. At the end it asks to press ENTER. Exit menu-config Everything - Home Assistant installed It will say that you need to restart. Reboot with

sudo reboot

After the reboot, you need to wait 20 minutes until all the settings go through. Completion will be announced at:

http://xxx.xxx.xxx.xxx:8123

That's all. Thank you very much. I have tried many ways. But this one is the easiest and fastest.

When you did the HA install from menu-config which hardware board did you pick from the list provided by the HA installer? At this point if you tried again it would fail because menu-config is now restricting to only the boards HA indicate things should work on.

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bureal I assume you found this distro based on one of the post I made on the Home Assistant forum. While I posted a link to this distro on multiple HA threads this is the most recent https://community.home-assistant.io/t/how-to-supervised-ha-install-on-odroid-n2-with-clean-debian-11/428675. If you could provide a comment to the home assistant forum link related to your experience that would be appreciated, as we were trying to let others know there was an alternative way to get HA up and running under Debian bullseye.

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I found the image thanks to you at this link:
https://community.home-assistant.io/t/installing-home-assistant-supervised-on-a-raspberry-pi-with-debian-11/247116/560

In the settings, when prompted, I chose Odroid N2

Everything works now on BananaPi M5

The difference in the cost of BananaPI M5 compared to Odroid n2+ is almost 3 times.

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's interesting on the cost. Here in the US I can pick up 4G Odroid N2+ for $95 and banana pi M5 for $92. I can get an M5 out of China for $64. Nothing near the 3X price difference you get. Anyway it's good to hear the image was useful to you.

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bureal, what the cost for a banana pi M5 in your area?

@Bureal
Copy link

@Bureal Bureal commented on e1aef69 Aug 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0n3man
Copy link

@0n3man 0n3man commented on e1aef69 Aug 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So buying odroid N2+ though china is the reason for the cost difference. The board sells for $83 + shipping straight from South Korea. Your Banan PI cost is similar in cost to our prices. Thanks for the info.

Please sign in to comment.