Go to advanced search

by vintozver
Sat Aug 31, 2019 5:07 am
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 304
Views: 48776

Re: Raspberry Pi 4 usb boot?

Simple google search http://lig-membres.imag.fr/duble/softwa ... i-netboot/

kexec is still an issue afaik
by vintozver
Fri Aug 30, 2019 10:32 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 304
Views: 48776

Re: Raspberry Pi 4 usb boot?

since the work in progress, may we ask for ipv6+dhcpv6 support?
I have succeeded with NFSv4 rootfs mount, dhcpv6 boot would let me finally get rid of ipv4 in the network.

Thank you!
by vintozver
Wed Aug 28, 2019 6:36 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 304
Views: 48776

Re: Raspberry Pi 4 usb boot?

Let me ask another question.
Would you consider three third party help with NDA or whatever signed or how much money do you need to make it happen? Budget ...

I guess we are talking about "charity" (right?) and I may pull some strings here.
by vintozver
Tue Aug 27, 2019 9:21 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 304
Views: 48776

Re: Raspberry Pi 4 usb boot?

Any ETA when to expect PXE and USB/MS boot on PI4? Would appreciate even the ballpark.
My lovely 3B+ units boot and work like charm from network, would like to have the same on 4B :)
by vintozver
Mon Jul 08, 2019 10:16 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 304
Views: 48776

Re: Raspberry Pi 4 usb boot?

Unbelievable how people (or bots?) hate the raspberry pi 4 despite so many new things! Nobody is talking about OTG on USB-C (it's opening new possibilities btw ...) Nobody is thinking that 512k of EEPROM onboard may solve other things or even help customizing the boot without the SD Or USB controlle...
by vintozver
Mon Jun 11, 2018 1:42 am
Forum: Advanced users
Topic: Raspbian hw clock reset after reboot
Replies: 6
Views: 2372

Re: Raspbian hw clock reset after reboot

The freshest idea and solution (which works well for me) is to remove ntp daemon (apt-get purge ntp) so the NTP daemon won't confuse systemd. I have just tested it - works fine. pi@meters-host:~ $ timedatectl Local time: Sun 2018-06-10 18:41:01 PDT Universal time: Mon 2018-06-11 01:41:01 UTC RTC tim...
by vintozver
Mon Jun 11, 2018 1:18 am
Forum: Advanced users
Topic: Raspbian hw clock reset after reboot
Replies: 6
Views: 2372

Re: Raspbian hw clock reset after reboot

The "solution" is to rebuild the kernel with the CONFIG_RTC_SYSTOHC=n (see my earlier post)
I will need to dig deeper into timedatectl at this moment cause my interest (and needs) are coming back and striking me to the back ...
by vintozver
Thu Jul 20, 2017 6:06 am
Forum: Advanced users
Topic: password lost on apt-get upgrade
Replies: 2
Views: 507

Re: password lost on apt-get upgrade

Mount the card to any Linux distro, then update /etc/shadow with your password hash. Google will help youb to calculate the hash of your password.
by vintozver
Mon Jul 17, 2017 11:34 pm
Forum: Advanced users
Topic: Raspbian hw clock reset after reboot
Replies: 6
Views: 2372

Re: Raspbian hw clock reset after reboot

Battery OK? inserted with the correct polarity? I'd probably replace it anyway. :) come on :) there's only way to insert it. I checked with the multi meter (and made sure that the chip receives 3.3V) before even digging into details. So, I found a "violator". It's kernel ... CONFIG_RTC_SYSTOHC=y fo...
by vintozver
Sun Jul 16, 2017 2:47 am
Forum: Advanced users
Topic: Raspbian hw clock reset after reboot
Replies: 6
Views: 2372

Raspbian hw clock reset after reboot

Hi, I noticed very weird behavior with Raspbian Stretch (9.0). Preface I decided to "upgrade" the PI and added Witty Pi hat and Power Relay hats. I removed fake-hwclock package to make sure that OS will use the real RTC. I expected system time to be set from RTC, then NTP sync some time, then sync R...
by vintozver
Fri Jul 07, 2017 10:47 pm
Forum: Advanced users
Topic: Ethernet PXE boot DHCPv6
Replies: 15
Views: 2282

Re: Ethernet PXE boot DHCPv6

@vintozver It seems you would be better advised in pursuing a UBoot-based solution instead of waiting on a new closed bootcode.bin that may or may not materialise. ghans Agree. Unfortunately, I will have to do a pretty big chunk of work there cause current U-Boot patches don't have DHCPv6 + RA + TF...
by vintozver
Fri Jul 07, 2017 6:02 am
Forum: Automation, sensing and robotics
Topic: Accessing DS3231 Temperature
Replies: 11
Views: 14203

Re: Accessing DS3231 Temperature

Why invent the wheel?

cat /sys/devices/platform/soc/3f804000.i2c/i2c-1/1-0068/hwmon/hwmon0/temp1_input
by vintozver
Wed Jun 07, 2017 10:14 pm
Forum: Advanced users
Topic: Ethernet PXE boot DHCPv6
Replies: 15
Views: 2282

Re: Ethernet PXE boot DHCPv6

If you used the isc dhcpd server it's possible to base responses off things in the request packet with an if statement, that way you could probably limit it to only send responses if based on certain fields (vendor client id is often a good option) client id and vendor id are the same in these two ...
by vintozver
Wed Jun 07, 2017 9:07 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 4553

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

Any idea what would need to be done to boot using PARTUUID and an initrd? Generally, udev is built in into initrd, and is responsible for creating /dev/disk/... symlinks. Will need to play with it. I suggest to do some digging by unpacking generated initrd and look at udev rules. When booting w/o i...
by vintozver
Wed Jun 07, 2017 7:02 pm
Forum: Advanced users
Topic: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildroot)
Replies: 11
Views: 4553

Re: Booting rootfs via "root=LABEL=" or "root=UUID=" (buildr

[quote="arglebargleAh, you're right, I didn't catch that in my testing. Here's a fun one, using an initrd without switching from root=PARTUUID= to root=UUID= will cause boot to dump you into busybox.[/quote] Correct. Having busybox is a good sign, that means you have kernel&initrd loaded successfull...
by vintozver
Wed Jun 07, 2017 5:11 pm
Forum: Advanced users
Topic: are start.elf & bootcode.bin is close soure?
Replies: 30
Views: 3985

Re: are start.elf & bootcode.bin is close soure?

Quick "build test" showed the results (rtl8139.rom): 62976 bytes without IPv6 support 68096 bytes with IPv6 support Rest of features like http(s), menus and other stuff was turned off to keep the ROM minimal but still functional (PXE + TFTP only, and some other mandatory stuff). Generally, we're tal...
by vintozver
Wed Jun 07, 2017 4:28 pm
Forum: Advanced users
Topic: are start.elf & bootcode.bin is close soure?
Replies: 30
Views: 3985

Re: are start.elf & bootcode.bin is close soure?

So can you fit it in 2kbytes of ARM assembler? I need to do some homework before answering this question. I will build ipxe for i386 with and w/o ipv6 support with the minimum of remaining options to see the difference. I understand that command set is completely different but at least to estimate ...
by vintozver
Tue Jun 06, 2017 11:24 pm
Forum: Advanced users
Topic: are start.elf & bootcode.bin is close soure?
Replies: 30
Views: 3985

Re: are start.elf & bootcode.bin is close soure?

So although you could network boot it would require that you have an SD card with bootcode.bin on it... Is that what you're asking? It's also got to be implemented in < 2kb code to suitably fit without having to go and hand reduce the current code... Gordon Correct, you got it right, sd card with b...
by vintozver
Mon Jun 05, 2017 10:14 pm
Forum: Advanced users
Topic: Ethernet PXE boot DHCPv6
Replies: 15
Views: 2282

Re: Ethernet PXE boot DHCPv6

The decision about 192.168.0.0/16 and 10.0.0.0/8 is not made by me neither controlled by me. It's "as is" we have to live with. Anyway, "pure link local IPv4" is totally fine. If the lease is requested at least twice (by PXE and by initrd), and the request options differ (the second one definitely w...
by vintozver
Mon Jun 05, 2017 5:10 pm
Forum: Advanced users
Topic: Ethernet PXE boot DHCPv6
Replies: 15
Views: 2282

Re: Ethernet PXE boot DHCPv6

192.168.0.0/16 is used for internal LAN and VPN addressing, 10.0.0.0/8 is used for tunneling of the traffic (secure tunnels between offices) I understand that I still have 172.16.0.0/16 for booting, but if the tunnel provider suddenly decides to use 172.16.0.0/16, we won't be able to diagnose any is...
by vintozver
Mon Jun 05, 2017 4:54 pm
Forum: Python
Topic: join 2 variables in subprocess
Replies: 11
Views: 1902

Re: join 2 variables in subprocess

I would at least pass environ through: subprocess.Popen(..., environ=os.environ) so you won't need shell.

Also read https://stackoverflow.com/questions/276 ... ess-module
by vintozver
Mon Jun 05, 2017 4:49 pm
Forum: Python
Topic: Threads vs processes
Replies: 8
Views: 1675

Re: Threads vs processes

Unhandled signal sent to a process with the default action "terminate" will close the whole process (all threads).

So it depends what you need.

When dealing with threads in python, remember about GIL (global interpreter lock) which may turn your "multithreaded" design to a single line of execution.
by vintozver
Mon Jun 05, 2017 4:22 pm
Forum: Advanced users
Topic: Auto start python script with tkinter content
Replies: 6
Views: 5521

Re: Auto start python script with tkinter content

Could you please be more specific in the "after reboot" term? GUI ready, after automatic login ... You might find systemd events helpful (for example, after net up, after lxde up ...). Placing your stuff in /etc/rc.d or similar is not encouraged by the current Linux design. I will be able to help wh...
by vintozver
Mon Jun 05, 2017 4:11 pm
Forum: Advanced users
Topic: Ethernet PXE boot DHCPv6
Replies: 15
Views: 2282

Re: Ethernet PXE boot DHCPv6

Possible interference with openvpn issued addresses (ipv4).

I understand that "I may find a solution" but let's treat the question as a "possible way to solve the problem". I understand that it's not the best and not the cheapest one ...
by vintozver
Mon Jun 05, 2017 12:02 pm
Forum: Advanced users
Topic: are start.elf & bootcode.bin is close soure?
Replies: 30
Views: 3985

Re: are start.elf & bootcode.bin is close soure?

Could you add ipv6 support to bootcode.bin / start.elf?

I would be happy to boot PI from network, but specific requirement is "ipv6 only".

I could contribute if needed.

Go to advanced search