HassOS REL-4 developer release

Post Reply
pvizeli
Posts: 3
Joined: Tue Jan 14, 2020 7:51 pm
languages_spoken: english
Has thanked: 0
Been thanked: 4 times
Contact:

HassOS REL-4 developer release

Post by pvizeli »

Hi

For everyone they have an interest, HassOS REL-4 first developer release is out. The images support:
- C2
- N2
- XU4

It uses Linux 5.4 mainline and u-boot 2020.01

Links:
- https://home-assistant.io/hassio
- https://github.com/home-assistant/hasso ... es/tag/4.0
These users thanked the author pvizeli for the post (total 4):
mad_ady (Wed Jan 15, 2020 8:04 pm) • odroid (Wed Jan 15, 2020 8:22 pm) • rooted (Thu Jan 16, 2020 12:20 am) • joy (Sat Jan 18, 2020 7:09 am)

mad_ady
Posts: 9077
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 579 times
Contact:

Re: HassOS REL-4 developer release

Post by mad_ady »

Thanks for maintaining it. It makes it easier for people to get into home automation.

mad_ady
Posts: 9077
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 579 times
Contact:

Re: HassOS REL-4 developer release

Post by mad_ady »

I see that the N2 is a supported (and recommended) device for Home Assistant, and got some publicity: https://www.home-assistant.io/blog/2020 ... other-news
@pvizelli - have you had a chance to test HassOS flashed to usb disk and booted by petitboot? (viewtopic.php?f=182&p=278060#p278060).

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: HassOS REL-4 developer release

Post by pepeEL »

Anybody test it to boot it from USB SSD ?

pvizeli
Posts: 3
Joined: Tue Jan 14, 2020 7:51 pm
languages_spoken: english
Has thanked: 0
Been thanked: 4 times
Contact:

Re: HassOS REL-4 developer release

Post by pvizeli »

I've not tested the petitboot. However, our u-boot script should support it.

Will try it in next days.

pvizeli
Posts: 3
Joined: Tue Jan 14, 2020 7:51 pm
languages_spoken: english
Has thanked: 0
Been thanked: 4 times
Contact:

Re: HassOS REL-4 developer release

Post by pvizeli »

petitboot did not detect a system now over USB.

I can provide an u-boot.bin on first partition, would be nice if petitboot pick that up and boot. Is that possible?

mad_ady
Posts: 9077
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 579 times
Contact:

Re: HassOS REL-4 developer release

Post by mad_ady »

As far as I know petitboot does not use uboot from the target device (it's built into the spi flash). It searches and parses boot.ini and boot.scr from known locations and builds new boot command lines based on what it finds. It uses kexec to load the kernel/dtb/initrd.
But upgrade your petitboot to the latest 2020 version because there were some parsing issues with older versions.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: HassOS REL-4 developer release

Post by pepeEL »

I have installed latest version Petitboot 20200118 and try boot from USB SSD but no boot. Not found....
IMG_20200122_092721.jpg
IMG_20200122_092721.jpg (176.72 KiB) Viewed 1957 times
Pvizeli please share this u-boot.bin i can test it...

User avatar
tobetter
Posts: 7162
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 380 times
Been thanked: 1049 times
Contact:

Re: HassOS REL-4 developer release

Post by tobetter »

@pvizeli, I have questions about HASSOS how it works.

1. How the firmware/OS can be updated if new version is released? Is there an updating software on HASSOS itself? I am seeing that the HASSOS uses a seamless software update if my understanding is correct, what I am curious is that how yet another OS partitions are accessed when update is required. Do you use like /dev/mmcblk nodes or something else?

2. In the boot.ini, I found the command usb start. What is this for? Only to scan USB devices and storage?

3. I am seeing that HASSOS uses the squashfs, it probably the root file system and whole firmware is loaded to memory and running in the memory itself. Is there a heavy disk I/O happens while HASSOS is running? Does it mount another file system to the root file system?

mad_ady
Posts: 9077
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 596 times
Been thanked: 579 times
Contact:

Re: HassOS REL-4 developer release

Post by mad_ady »

HassOS runs some services in docker. Not sure where the docker volumes get mounted to, but some of them may be IO heavy (things like mysql, influxdb, etc).
These users thanked the author mad_ady for the post:
tobetter (Wed Jan 22, 2020 11:03 pm)

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: HassOS REL-4 developer release

Post by pepeEL »

Hi
Any news about boot hassos from USB SSD ?

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests