Yet Another Needless Site

  • About Me

N1

Build Linux 5.10 LTS for Phicomm N1

Carrot 2021-09-03

Recently I built Linux 5.10 LTS for my N1 box. Below are the patches I needed during the building process. TEXT_OFFSET Obsolete: See comments from justin below, it’s no longerContinue reading

Patch for blocking Thunder in transmission 3.00

Carrot 2021-08-30

I wrote a blog about blocking Thunder in tranmission-daemon 2.94. The patch does not apply cleanly on Transmission 3.00, so I update it here: — a/libtransmission/peer-mgr.c 2021-08-31 03:10:20.435836776 +0800 +++Continue reading

`smartctl` does not work correctly for USB-HDD on Phicomm N1

Carrot 2021-06-26

This seems to relate to a kernel change in 3.15. To workaround it I have to prevent UAS driver from binding to my HDD drive by setting usb-storage.quirks. Unfortunately, solutionContinue reading

Debian 10 hangs during booting on Phicomm N1

Carrot 2019-07-08

Section 5.1.4 in Debian 10’s Release Notes explained this, and suggested using haveged to populate system’s entropy. However, haveged does not work correctly on my N1 box, reporting: haveged[1234]: haveged:Continue reading

Use single partition to boot Linux on Phicomm N1

Carrot 2019-06-06

All your data will be lost if you do something wrong. Don’t follow this post unless you’re ABSOLUTELY aware of what you’re doing. Well, this idea has come to meContinue reading

Workaroud for U-boot’s unstable `usb start`

Carrot 2019-06-05

Since I can’t attach a USB-to-TTL to my N1 box right now, I can’t confirm this is the same issue as a topic found in U-boot’s mailing list ([U-Boot] ‘usbContinue reading

Phicomm N1 (seemingly) does not support booting from raw initramfs

Carrot 2019-03-16

Even if both the documentation (in source code) and the source code of boot_get_ramdisk suggest that booti (as well as other boot* family commands) support raw initrd image, my attemptContinue reading

Boot Phicomm N1 without emmc_autoscript / s905_autoscript

Carrot 2019-03-16

It’s recommended to backup your firmware environment variables before changing them. If fw_printenv / fw_setenv does not work on your device, you might want to checkout this post to fixContinue reading

Use ext4 for /boot partition on Phicomm N1

Carrot 2019-03-06

Be careful when doing this, I suggest you backup your data before reformatting your /boot as ext4. Any mistake you make would potentially require a reflash of your device (orContinue reading

Several patches I’m using for running Linux 5.0 on Phicomm N1

Carrot 2019-03-05

meson-text-offset.patch: Patch for moving TEXT_OFFSET. This is necessary for booting Linux on Meson SoCs. diff -uNr a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S — a/arch/arm64/kernel/head.S 2019-01-01 00:00:00.000000000 +0000 +++ b/arch/arm64/kernel/head.S 2019-01-01 00:00:00.000000000 +0000 @@ -52,7Continue reading

Posts pagination

1 2 3 »
Recent Posts
  • Stop /etc/resolv.conf from being updated automatically
  • My first take on C++ coroutines
  • Restart nginx on failure endlessly on Debian
  • Packing / unpacking FP32s as BFloat16s with AVX2 (truncating)
  • Build Linux 5.10 LTS for Phicomm N1
Categories
  • Linux
  • N1
  • Network
  • Programming
  • Router
  • U-Boot
  • Uncategorized
  • VPS
  • Website
Recent Comments
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Anonymous on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright 2025 Yet Another Needless Site | Designed by CodeGearThemes

Powered by WordPress