Go to advanced search

by Kendek
Wed Sep 25, 2019 12:42 pm
Forum: General discussion
Topic: Gap in Raspbian images
Replies: 10
Views: 647

Re: Gap in Raspbian images

If you would like to fix it, a PR can be sent here https://github.com/RPi-Distro/pi-gen/blob/master/export-image/prerun.sh#L26 16 - ROUNDED_ROOT_SECTOR=$(((BOOT_SIZE + ROUND_SIZE) / ROUND_SIZE * ROUND_SIZE / 512 + 8192)) 16 + ROUNDED_ROOT_SECTOR=$(((BOOT_SIZE + ROUND_SIZE) / 512)) 26 - +$((BOOT_SIZ...
by Kendek
Wed Sep 25, 2019 11:31 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83595

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

dom wrote:
Tue Sep 24, 2019 6:27 pm
Try updating now - I've added CONFIG_USB_UAS.
Thanks, the UAS is working as expected in the 64-bit kernel 4.19.75. :)
by Kendek
Wed Sep 25, 2019 9:49 am
Forum: General discussion
Topic: Gap in Raspbian images
Replies: 10
Views: 647

Re: Gap in Raspbian images

The boot partition is aligned with a 4MB Erase Block Boundary, its size is a multiple of 4MB , so is the root partition aligned with a 4MB Erase Block Boundary, but it would if it started at 532480 immediately following the boot partition. Yes, but currently the first partition ends in sector 53248...
by Kendek
Wed Sep 25, 2019 8:41 am
Forum: General discussion
Topic: Gap in Raspbian images
Replies: 10
Views: 647

Re: Gap in Raspbian images

It's because the first, FAT32 boot partition is larger exactly one sector than the ideal. 256 MiB (524288s) proper last sector = 8192 + 256 * 1024 * 1024 / 512 - 1 = 532479 If the last sector is 532480 (so 256 MiB + 512 bytes), then the first sector for the second partition is 540672. parted /dev/mm...
by Kendek
Tue Sep 24, 2019 5:57 pm
Forum: Advanced users
Topic: Raspberry Pi4 bootloader - network boot support - BETA
Replies: 65
Views: 17950

Re: Raspberry Pi4 bootloader - network boot support - BETA

Managed to get into raspbian and flashed back to. 10-09-19 but its not worked for me If you want to revert the eeprom to the latest stable version, just use these commands: wget -O /boot/recovery.bin https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/recovery.bin wget -O /boot/pieeprom.u...
by Kendek
Tue Sep 24, 2019 1:59 pm
Forum: General discussion
Topic: Best way to make RPi report it's public IP
Replies: 14
Views: 799

Re: Best way to make RPi report it's public IP

Code: Select all

wget -qO- ifconfig.co
curl ifconfig.co
or if you have an IPv6 WAN address too, but you need the IPv4:

Code: Select all

wget -qO- v4.ifconfig.co
curl v4.ifconfig.co
by Kendek
Mon Sep 23, 2019 5:25 pm
Forum: Advanced users
Topic: Headless RasPi running Python script
Replies: 15
Views: 595

Re: Headless RasPi running Python script

/etc/rc.local

Code: Select all

while : ; do script.py ; done &
So the script will be restarted immediately even if exited unexpectedly.
by Kendek
Mon Sep 23, 2019 5:04 pm
Forum: Troubleshooting
Topic: Permission Denied: Can't run my .py program (Gatttool)
Replies: 1
Views: 100

Re: Permission Denied: Can't run my .py program (Gatttool)

Code: Select all

chmod +x prjMiFlora.py
./prjMiFlora.py
or

Code: Select all

python3 prjMiFlora.py
by Kendek
Mon Sep 23, 2019 4:58 pm
Forum: Advanced users
Topic: Raspberry Pi4 bootloader - network boot support - BETA
Replies: 65
Views: 17950

Re: Raspberry Pi4 bootloader - network boot support - BETA

HiassofT wrote:
Mon Sep 23, 2019 4:46 pm
Which LibreELEC version are you using, I assume the latest official one, 9.2 beta 1?
Yeah, LibreELEC 9.1.501, and there is no such delay with previous eeprom versions.
by Kendek
Mon Sep 23, 2019 4:33 pm
Forum: Advanced users
Topic: Raspberry Pi4 bootloader - network boot support - BETA
Replies: 65
Views: 17950

Re: Raspberry Pi4 bootloader - network boot support - BETA

Did you also update fixup4.dat (I've updated the docs to explicitly state that this is required) ? My best guess is that Linux is booting but doesn't have enough CMA memory because start4.elf has wrong/missing fixup information. I forgot that, but now the LibreELEC is working well. :) There is a ve...
by Kendek
Mon Sep 23, 2019 3:11 pm
Forum: Device Tree
Topic: RPi4 Ethernet LED control
Replies: 5
Views: 2710

Re: RPi4 Ethernet LED control

FYI, the PHY appears to be a BCM54213PE... Thanks, I successfully disabled the ethernet LEDs in the drivers/net/phy/broadcom.c with BCM_LED_SRC_OFF : static void bcm54213pe_config_init(struct phy_device *phydev) { ... val = BCM5482_SHD_LEDS1_LED1(BCM_LED_SRC_OFF) | BCM5482_SHD_LEDS1_LED3(BCM_LED_SR...
by Kendek
Mon Sep 23, 2019 2:41 pm
Forum: Advanced users
Topic: Raspberry Pi4 bootloader - network boot support - BETA
Replies: 65
Views: 17950

Re: Raspberry Pi4 bootloader - network boot support - BETA

I tried first with LibreELEC on the microSD card, with the following configuration: [all] BOOT_UART=0 WAKE_ON_GPIO=0 POWER_OFF_ON_HALT=1 DHCP_TIMEOUT=45000 DHCP_REQ_TIMEOUT=4000 TFTP_FILE_TIMEOUT=15000 TFTP_IP= BOOT_ORDER=0x1 SD_BOOT_MAX_RETRIES=3 NET_BOOT_MAX_RETRIES=5 [none] FREEZE_VERSION=0 After...
by Kendek
Sun Sep 22, 2019 4:36 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83595

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Why is the UASP support not enabled in the ARM64 kernel config?
I just tested it, recompiled the kernel with CONFIG_USB_UAS=y, and the UAS is working well, same as with 32-bit kernel.
I'm using a custom 64-bit Ubuntu, based on the base ARM64 tar.gz, and I need a full-feature kernel.
by Kendek
Sat Sep 21, 2019 12:42 pm
Forum: Troubleshooting
Topic: Very hot USB thumbdrives - can they damage the RPi?
Replies: 5
Views: 221

Re: Very hot USB thumbdrives - can they damage the RPi?

Short USB extension cable maybe not elegant but may helps to prevent the devices from heating each other.

Image
by Kendek
Fri Sep 20, 2019 3:36 pm
Forum: General discussion
Topic: Config question for MiniDlna (RPi4)
Replies: 7
Views: 448

Re: Config question for MiniDlna (RPi4)

I tested it, and the inotify is working well with symlinks. Maybe do a service minidlna restart when the LG TV is on, and see if the new server appears. You can do a refresh on the clients as well, so the new files should be there. I have a Samsung TV, so I changed the notify_interval 's value to 90...
by Kendek
Fri Sep 20, 2019 10:04 am
Forum: General discussion
Topic: Config question for MiniDlna (RPi4)
Replies: 7
Views: 448

Re: Config question for MiniDlna (RPi4)

Now all folders within the top folder are shown including log and php (the video store is a website too)... If I navigate into them there is no media shown (empty folder) so that is OK, but is there a way to hide some folders from view? This is the Browse Director y container, which is similar to t...
by Kendek
Fri Sep 20, 2019 6:02 am
Forum: General discussion
Topic: Config question for MiniDlna (RPi4)
Replies: 7
Views: 448

Re: Config question for MiniDlna (RPi4)

Bosse_B wrote:
Thu Sep 19, 2019 7:38 pm
I just want there to be one single selector "Videos" which will show up the videos and subfolders at the top of the video store.
Is this possible?

Code: Select all

root_container=B
by Kendek
Wed Sep 18, 2019 11:15 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83595

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

For that I need the kernel-headers (to compile sp). As mentioned above, the "rpi-source" script does not work for the 64bit kernel. How can I generate the kernel headers manually? So are you want to compile a 64-bit kernel module on the Raspbian? I just downloaded the preinstalled arm64 Ubuntu base...
by Kendek
Wed Sep 11, 2019 7:47 am
Forum: Advanced users
Topic: Raspberry Pi4 EEPROM update package - beta
Replies: 57
Views: 13558

Re: Raspberry Pi4 EEPROM update package - beta

figshta wrote:
Wed Sep 11, 2019 7:36 am
I got "Bootloader critical updates directory /lib/firmware/raspberrypi/bootloader/beta not found.
So, upgrade first the rpi-eeprom and rpi-eeprom-images packages.
by Kendek
Mon Sep 09, 2019 12:18 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 299
Views: 83595

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

dom wrote:
Mon Sep 09, 2019 11:33 am
You might be interested in https://github.com/notro/rpi-source/wiki
The rpi-source script doesn't work with 64-bit kernels (Unrecognised CPU), only armv7l and armv6l.
by Kendek
Mon Sep 09, 2019 4:17 am
Forum: Advanced users
Topic: Flash image for x86 on RaspberryPi
Replies: 5
Views: 411

Re: Flash image for x86 on RaspberryPi

Void Frost wrote:
Mon Sep 09, 2019 12:11 am
Hey @Kendek what software is this? Looks nice.
This is File Roller, the default archive manager on Ubuntu. You can use the Xarchiver to extract files on Raspbian.
by Kendek
Sun Sep 08, 2019 8:48 pm
Forum: Advanced users
Topic: Flash image for x86 on RaspberryPi
Replies: 5
Views: 411

Re: Flash image for x86 on RaspberryPi

The question is the image what to write. HP does not support with bin file to flash. Are you sure about that? You can download the .exe BIOS/UEFI updater from support.hp.com , and you can unpack the .bin file from it. I have found my Rom.bin file in the sp91541.exe, with File Roller. sp91541.exe ->...
by Kendek
Sun Sep 08, 2019 5:54 pm
Forum: Troubleshooting
Topic: Pulsing LEDs (with power turned off)
Replies: 4
Views: 300

Re: Pulsing LEDs (with power turned off)

BogoMax wrote:
Sun Sep 08, 2019 5:18 pm
I'm using the official RPI PSU so maybe there is a similar feature at work.
Since I replaced the official PSU to a non-official one, this problem is gone, there is no more LED blinking. So yeah, I think this is a capacitor issue in the PSU.
by Kendek
Sat Sep 07, 2019 12:24 pm
Forum: Troubleshooting
Topic: Pulsing LEDs (with power turned off)
Replies: 4
Views: 300

Re: Pulsing LEDs (with power turned off)

Yes, there is something similar: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=250227 If the HDMI and the USB power cable are connected, then the power LED is blinks every half or a minutes when the toggle power switch is off. Maybe a capacitor charges and then discharges in the PSU. I don...
by Kendek
Thu Sep 05, 2019 1:37 pm
Forum: Troubleshooting
Topic: No audio passthrough (DTS) on Pi 4
Replies: 10
Views: 1590

Re: No audio passthrough (DTS) on Pi 4

Thanks for suggesting LibreElec; as this is a "Just enough OS" for Kodi, does this mean that it will be harder to install other things on the Raspberry? I'm currently using samba server, NTFS, ExFAT, jdownloader, Wi-Fi routing (Acces Point), and much more coming, and I'd like to be able to use occa...

Go to advanced search