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

Unread post by pvizeli » Tue Jan 14, 2020 8:00 pm

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)

User avatar
mad_ady
Posts: 7558
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 391 times
Been thanked: 296 times
Contact:

Re: HassOS REL-4 developer release

Unread post by mad_ady » Wed Jan 15, 2020 8:05 pm

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

User avatar
mad_ady
Posts: 7558
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 391 times
Been thanked: 296 times
Contact:

Re: HassOS REL-4 developer release

Unread post by mad_ady » Fri Jan 17, 2020 6:01 pm

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: 33
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

Unread post by pepeEL » Fri Jan 17, 2020 7:41 pm

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

Unread post by pvizeli » Mon Jan 20, 2020 9:04 pm

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

Unread post by pvizeli » Wed Jan 22, 2020 8:19 pm

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?

User avatar
mad_ady
Posts: 7558
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 391 times
Been thanked: 296 times
Contact:

Re: HassOS REL-4 developer release

Unread post by mad_ady » Wed Jan 22, 2020 8:32 pm

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: 33
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

Unread post by pepeEL » Wed Jan 22, 2020 8:51 pm

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 772 times
Pvizeli please share this u-boot.bin i can test it...

User avatar
tobetter
Posts: 4667
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 88 times
Been thanked: 338 times
Contact:

Re: HassOS REL-4 developer release

Unread post by tobetter » Wed Jan 22, 2020 10:32 pm

@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?

User avatar
mad_ady
Posts: 7558
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 391 times
Been thanked: 296 times
Contact:

Re: HassOS REL-4 developer release

Unread post by mad_ady » Wed Jan 22, 2020 10:35 pm

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: 33
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

Unread post by pepeEL » Mon Mar 09, 2020 6:55 am

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