Jump to content

belegdol

Members
  • Posts

    89
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. What does lsinitramfs say? Is the usb_storage in? This is how it looks here: $ lsinitramfs /boot/initrd.img-6.6.108-current-odroidxu4 | grep usb usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/hid/usbhid usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/hid/usbhid/usbhid.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/i2c/busses/i2c-tiny-usb.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/aqc111.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/asix.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/ax88179_178a.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/catc.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/cdc_eem.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/cdc_ncm.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/ch9200.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/dm9601.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/int51x1.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/kaweth.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/lan78xx.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/mcs7830.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/pegasus.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/rndis_host.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/rtl8150.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/smsc75xx.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/smsc95xx.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/sr9700.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/net/usb/sr9800.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/host usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/host/ehci-fsl.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/host/fsl-mph-dr-of.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/uas.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-alauda.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-cypress.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-datafab.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-eneub6250.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-freecom.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-isd200.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-jumpshot.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-karma.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-onetouch.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-realtek.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-sddr09.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-sddr55.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/ums-usbat.ko usr/lib/modules/6.6.108-current-odroidxu4/kernel/drivers/usb/storage/usb-storage.ko usr/lib/systemd/network/73-usb-net-by-mac.link usr/lib/udev/rules.d/50-usb-realtek-net.rules
  2. Please forgive me if it is a stupid question, but what is preventing us from keeping n previous kernels installed in case an update is broken and does not boot? Fedora does it, Ubuntu does too. In general it should be simpler to boot a previous kernel than to try to pull the SD card and fix it in a second machine.
  3. If you are able to read the panicking SD card in another PC, how does the folder structure look like? This is mine: $ sudo ls -Rlh /boot [sudo] password for julas: /boot: total 36M -rw-r--r-- 1 root root 78 Feb 6 13:26 armbianEnv.txt -rw-r--r-- 1 root root 0 Sep 6 2019 armbianEnv.txt.out -rw-r--r-- 1 root root 1.5K May 29 2018 armbian_first_run.txt.template -rw-r--r-- 1 root root 38K May 29 2018 boot.bmp -rw-r--r-- 1 root root 4.8K May 29 2018 boot-desktop.png -rw-r--r-- 1 root root 13K Sep 15 2022 boot.ini -rw-r--r-- 1 root root 0 Jun 25 2019 boot.ini.out -rw-r--r-- 1 root root 200K Feb 6 13:11 config-6.6.75-current-odroidxu4 lrwxrwxrwx 1 root root 28 Feb 6 13:24 dtb -> dtb-6.6.75-current-odroidxu4 drwxr-xr-x 2 root root 4.0K Feb 6 13:23 dtb-6.6.75-current-odroidxu4 -rw-r--r-- 1 root root 13M Feb 6 13:24 initrd.img-6.6.75-current-odroidxu4 drwx------ 2 root root 12K May 29 2018 lost+found -rw-r--r-- 1 root root 3.2M Feb 6 13:11 System.map-6.6.75-current-odroidxu4 lrwxrwxrwx 1 root root 32 Feb 6 13:24 uInitrd -> uInitrd-6.6.75-current-odroidxu4 -rw-r--r-- 1 root root 13M Feb 6 13:24 uInitrd-6.6.75-current-odroidxu4 -rw-r--r-- 1 root root 8.4M Feb 6 13:11 vmlinuz-6.6.75-current-odroidxu4 lrwxrwxrwx 1 root root 32 Feb 6 13:24 zImage -> vmlinuz-6.6.75-current-odroidxu4 /boot/dtb-6.6.75-current-odroidxu4: total 3.1M -rw-r--r-- 1 root root 1.7K Feb 6 13:11 ads7846.dtbo -rw-r--r-- 1 root root 42K Feb 6 13:11 exynos3250-artik5-eval.dtb -rw-r--r-- 1 root root 52K Feb 6 13:11 exynos3250-monk.dtb -rw-r--r-- 1 root root 59K Feb 6 13:11 exynos3250-rinato.dtb -rw-r--r-- 1 root root 69K Feb 6 13:11 exynos4210-i9100.dtb -rw-r--r-- 1 root root 60K Feb 6 13:11 exynos4210-origen.dtb -rw-r--r-- 1 root root 57K Feb 6 13:11 exynos4210-smdkv310.dtb -rw-r--r-- 1 root root 64K Feb 6 13:11 exynos4210-trats.dtb -rw-r--r-- 1 root root 65K Feb 6 13:11 exynos4210-universal_c210.dtb -rw-r--r-- 1 root root 98K Feb 6 13:11 exynos4212-tab3-3g8.dtb -rw-r--r-- 1 root root 98K Feb 6 13:11 exynos4212-tab3-lte8.dtb -rw-r--r-- 1 root root 99K Feb 6 13:11 exynos4212-tab3-wifi8.dtb -rw-r--r-- 1 root root 106K Feb 6 13:11 exynos4412-i9300.dtb -rw-r--r-- 1 root root 106K Feb 6 13:11 exynos4412-i9305.dtb -rw-r--r-- 1 root root 75K Feb 6 13:11 exynos4412-itop-elite.dtb -rw-r--r-- 1 root root 103K Feb 6 13:11 exynos4412-n710x.dtb -rw-r--r-- 1 root root 74K Feb 6 13:11 exynos4412-odroidu3.dtb -rw-r--r-- 1 root root 74K Feb 6 13:11 exynos4412-odroidx2.dtb -rw-r--r-- 1 root root 74K Feb 6 13:11 exynos4412-odroidx.dtb -rw-r--r-- 1 root root 73K Feb 6 13:11 exynos4412-origen.dtb -rw-r--r-- 1 root root 98K Feb 6 13:11 exynos4412-p4note-n8010.dtb -rw-r--r-- 1 root root 65K Feb 6 13:11 exynos4412-smdk4412.dtb -rw-r--r-- 1 root root 64K Feb 6 13:11 exynos4412-tiny4412.dtb -rw-r--r-- 1 root root 106K Feb 6 13:11 exynos4412-trats2.dtb -rw-r--r-- 1 root root 63K Feb 6 13:11 exynos5250-arndale.dtb -rw-r--r-- 1 root root 59K Feb 6 13:11 exynos5250-smdk5250.dtb -rw-r--r-- 1 root root 65K Feb 6 13:11 exynos5250-snow.dtb -rw-r--r-- 1 root root 65K Feb 6 13:11 exynos5250-snow-rev5.dtb -rw-r--r-- 1 root root 61K Feb 6 13:11 exynos5250-spring.dtb -rw-r--r-- 1 root root 27K Feb 6 13:11 exynos5260-xyref5260.dtb -rw-r--r-- 1 root root 45K Feb 6 13:11 exynos5410-odroidxu.dtb -rw-r--r-- 1 root root 35K Feb 6 13:11 exynos5410-smdk5410.dtb -rw-r--r-- 1 root root 74K Feb 6 13:11 exynos5420-arndale-octa.dtb -rw-r--r-- 1 root root 73K Feb 6 13:11 exynos5420-chagall-wifi.dtb -rw-r--r-- 1 root root 73K Feb 6 13:11 exynos5420-klimt-wifi.dtb -rw-r--r-- 1 root root 83K Feb 6 13:11 exynos5420-peach-pit.dtb -rw-r--r-- 1 root root 69K Feb 6 13:11 exynos5420-smdk5420.dtb -rw-r--r-- 1 root root 82K Feb 6 13:11 exynos5422-odroidhc1.dtb -rw-r--r-- 1 root root 89K Feb 6 13:11 exynos5422-odroidxu3.dtb -rw-r--r-- 1 root root 88K Feb 6 13:11 exynos5422-odroidxu3-lite.dtb -rw-r--r-- 1 root root 88K Feb 6 13:11 exynos5422-odroidxu4.dtb -rw-r--r-- 1 root root 74K Feb 6 13:11 exynos5422-samsung-k3g.dtb -rw-r--r-- 1 root root 84K Feb 6 13:11 exynos5800-peach-pi.dtb -rw-r--r-- 1 root root 1.3K Feb 6 13:11 hktft32.dtbo -rw-r--r-- 1 root root 1.8K Feb 6 13:11 hktft35.dtbo -rw-r--r-- 1 root root 1.5K Feb 6 13:11 hktft-cs-ogst.dtbo -rw-r--r-- 1 root root 224 Feb 6 13:11 i2c0.dtbo -rw-r--r-- 1 root root 226 Feb 6 13:11 i2c1.dtbo -rw-r--r-- 1 root root 417 Feb 6 13:11 onewire.dtbo -rw-r--r-- 1 root root 691 Feb 6 13:11 spi0.dtbo -rw-r--r-- 1 root root 792 Feb 6 13:11 sx865x-i2c1.dtbo -rw-r--r-- 1 root root 227 Feb 6 13:11 uart0.dtbo /boot/lost+found: total 0
  4. Comparing the two UART logs provided by @Davy, log containing ** File not found /boot/armbianEnv.txt ** ** Unrecognized filesystem type ** ** File not found armbianEnv.txt ** does boot, whereas log not containing these 3 lines ends with a kernel panic. Not sure whether this is relevant yet, but it is definitely interesting.
  5. @Igor, is it possible to compare the kernel configurations used for the official build vs what I have running?
  6. Are you guys able to check which of the packages is causing trouble specifically?
  7. For comparison purposes, the hash values for my working build are: linux-image-current-odroidxu4_24.11.1.2_armhf__1-S1b53-D0531-P3da6-C3a73H5845-HK01ba-V014b-B59f0-R448a.deb. I could upload my builds somewhere for testing purposes, but I am not sure if it won't be setting a bad example wrt. not downloading builds from random strangers on the internet.
  8. Apologies for the trouble. I will try to have a look over the next few days. In the meantime, @Davy, are you able to post UART logs for the working boot? I somehow recall the boot.ini message is always there. It is also possible to mount the SD card on a PC, this is how I recovered from a broken update once or twice. I am running a self-compiled 6.6.75 on my HC1 at this very moment so this issue is definitely curious.
  9. I do not have either of the lines in my boot.ini: ODROIDXU-UBOOT-CONFIG # DO NOT EDIT THIS FILE # # Please edit /boot/armbianEnv.txt to set supported parameters # # U-Boot defaults setenv initrd_high "0xffffffff" setenv fdt_high "0xffffffff" # default settings, will be overwritten from armbianEnv.txt setenv macaddr "00:1e:06:61:7a:55" setenv rootdev "UUID=d0da7bbe-e3af-4588-8715-aa5c4478eb88" setenv rootfstype "btrfs" setenv console "both" setenv verbosity "1" # To update boot loader on your eMMC use the nand-sata-install tool # run copy_uboot_sd2emmc if ext4load mmc 0:1 0x44000000 /boot/armbianEnv.txt || fatload mmc 0:1 0x44000000 armbianEnv.txt || ext4load mmc 0:1 0x44000000 armbianEnv.txt; then env import -t 0x44000000 ${filesize}; fi if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "${consoleargs} console=ttySAC2,115200n8"; fi setenv bootrootfs "${consoleargs} consoleblank=0 loglevel=${verbosity} panic=10 root=${rootdev} rootfstype=${rootfstype} rootwait rw" # --- Screen Configuration for HDMI --- # # --------------------------------------- # Uncomment only ONE line! Leave all commented for automatic selection. # Uncomment only the setenv line! # --------------------------------------- # ODROID-VU forced resolution # setenv videoconfig "video=HDMI-A-1:1280x800@60" # ----------------------------------------------- # ODROID-VU forced EDID # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin" # ----------------------------------------------- # 1920x1200 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_60hz.bin" # ----------------------------------------------- # 1920x1200 30hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_30hz.bin" # ----------------------------------------------- # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid) # setenv videoconfig "video=HDMI-A-1:1920x1080@60" # ----------------------------------------------- # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid) # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin" # ----------------------------------------------- # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid) # setenv videoconfig "video=HDMI-A-1:1920x1080@50" # ----------------------------------------------- # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid) # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin" # ----------------------------------------------- # 1920x800 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x800.bin" # ----------------------------------------------- # 1792x1344 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1792x1344.bin" # ----------------------------------------------- # 1680x1050 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1680x1050.bin" # ----------------------------------------------- # 1600x1200 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x1200.bin" # ----------------------------------------------- # 1600x900 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x900.bin" # ----------------------------------------------- # 1400x1050 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1400x1050.bin" # ----------------------------------------------- # 1440x900 with monitor provided EDID information. # setenv videoconfig "video=HDMI-A-1:1440x900@60" # ----------------------------------------------- # 1440x900 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin" # ----------------------------------------------- # 1366x768 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1366x768.bin" # ----------------------------------------------- # 1360x768 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1360x768.bin" # ----------------------------------------------- # 1280x1024 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin" # ----------------------------------------------- # 1280x768 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x768.bin" # ----------------------------------------------- # 1280x720 (720P) with monitor provided EDID information. (720p-edid) # setenv videoconfig "video=HDMI-A-1:1280x720@60" # ----------------------------------------------- # 1280x720 (720P) without monitor data using generic information (720p-noedid) # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin" # ----------------------------------------------- # 1152x864 75hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1152x864_75hz.bin" # ----------------------------------------------- # 1024x768 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin" # ----------------------------------------------- # 1024x600 without monitor data using generic information (ODROID VU7+) # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin" # ----------------------------------------------- # 800x600 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin" # ----------------------------------------------- # 848x480 60hz without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/848x480.bin" # ----------------------------------------------- # 800x480 without monitor data using generic information (ODROID 7") # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin" # ----------------------------------------------- # 720x576 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin" # ----------------------------------------------- # 720x480 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin" # ----------------------------------------------- # 640x480 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin" # ----------------------------------------------- # 480x800 without monitor data using generic information # setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x800.bin" # --- HDMI / DVI Mode Selection --- # ------------------------------------------ # - HDMI Mode setenv vout "hdmi" # - DVI Mode (disables sound over HDMI as per DVI compat) # setenv vout "dvi" # --- HDMI CEC Configuration --- # ------------------------------------------ setenv cecenable "false" # false or true # set to true to enable HDMI CEC # CPU Governor Selection # Available governos: conservative, userspace, powersave, ondemand, performance, schedutil setenv governor "performance" # DRAM Frequency # Sets the LPDDR3 memory frequency # Supported values: 933 825 728 633 (MHZ) setenv ddr_freq 825 #------------------------------------------------------------------------------ # # HDMI Hot Plug detection # #------------------------------------------------------------------------------ # # Forces the HDMI subsystem to ignore the check if the cable is connected or # not. # false : disable the detection and force it as connected. # true : let cable, board and monitor decide the connection status. # # default: true # #------------------------------------------------------------------------------ setenv HPD "true" #------------------------------------------------------------------------------ # # TMDS data amplitude control. # #------------------------------------------------------------------------------ # # 1LSB corresponds to 20 mVdiff amplitude level. # tx_amp_lvl : 0 = 760 mVdiff(Min), 31 = 1380 mVdiff(Max) # # Hardkernel default hdmi_tx_amp_lvl = 31(1380 mVdiff); #------------------------------------------------------------------------------ setenv hdmi_tx_amp_lvl "31" #------------------------------------------------------------------------------ # # TMDS data amplitude fine control for each channel. # #------------------------------------------------------------------------------ # # 1LSB corresponds to 20 mVdiff amplitude level. # tx_lvl : 0 = 0 mVdiff(Min), 3 = 60 mVdiff(Max) # # Hardkernel default # hdmi_tx_lvl_ch0 = 3, hdmi_tx_lvl_ch1 = 3, hdmi_tx_lvl_ch2 = 3, #------------------------------------------------------------------------------ setenv hdmi_tx_lvl_ch0 "3" setenv hdmi_tx_lvl_ch1 "3" setenv hdmi_tx_lvl_ch2 "3" #------------------------------------------------------------------------------ # # TMDS data pre-emphasis level control. # #------------------------------------------------------------------------------ # # 1LSB corresponds to -0.45dB emphasis level except for 1 # tx_emp_lvl : 0 = 0 db(Min), 1 = -0.25 db, 2 = 0.7 db, 15 = -7.45 db(Max) # # Hardkernel default hdmi_tx_emp_lvl = 6 (-2.50 db); #------------------------------------------------------------------------------ setenv hdmi_tx_emp_lvl "6" #------------------------------------------------------------------------------ # # TMDS clock amplitude control. # #------------------------------------------------------------------------------ # # 1LSB corresponds to 20 mVdiff amplitude level. # clk_amp_lvl : 0 = 790 mVdiff(Min), 31 = 1410 mVdiff(Max) # # Hardkernel default hdmi_clk_amp_lvl = 31 (1410 mVdiff) #------------------------------------------------------------------------------ setenv hdmi_clk_amp_lvl "31" #------------------------------------------------------------------------------ # # TMDS data source termination resistor control. # #------------------------------------------------------------------------------ # # tx_res : # 0 = Source Termination OFF(Min), 1 = 200 ohm, 2 = 300 ohm, 3 = 120 ohm(Max) # # Hardkernrel default hdmi_tx_res = 0 (Source Termination OFF) #------------------------------------------------------------------------------ setenv hdmi_tx_res "0" #------------------------------------------------------------------------------ setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}" # Load kernel, initrd and dtb in that sequence ext4load mmc 0:1 0x40008000 /boot/zImage || fatload mmc 0:1 0x40008000 zImage || ext4load mmc 0:1 0x40008000 zImage ext4load mmc 0:1 0x42000000 /boot/uInitrd || fatload mmc 0:1 0x42000000 uInitrd || ext4load mmc 0:1 0x42000000 uInitrd # this is for mainline only if test "${board_name}" = "xu4"; then setenv fdtfile "exynos5422-odroidxu4.dtb"; fi if test "${board_name}" = "xu3"; then setenv fdtfile "exynos5422-odroidxu3.dtb"; fi if test "${board_name}" = "xu3l"; then setenv fdtfile "exynos5422-odroidxu3-lite.dtb"; fi if test "${board_name}" = "hc1"; then setenv fdtfile "exynos5422-odroidhc1.dtb"; fi # legacy shares a single DT for all boards if ext4load mmc 0:1 0x00000000 "/boot/.next" || fatload mmc 0:1 0x00000000 ".next" || ext4load mmc 0:1 0x00000000 ".next"; then echo "Found mainline kernel configuration"; else setenv fdtfile "exynos5422-odroidxu3.dtb"; fi ext4load mmc 0:1 0x44000000 /boot/dtb/${fdtfile} || fatload mmc 0:1 0x44000000 dtb/${fdtfile} || ext4load mmc 0:1 0x44000000 dtb/${fdtfile} # set FDT address fdt addr 0x44000000 if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi # final boot args setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control} usb-storage.quirks=${usbstoragequirks} ${extraargs}" # set DDR frequency dmc ${ddr_freq} bootz 0x40008000 0x42000000 0x44000000
  10. There could be a variable to define, but you can just remove the patches from the respective patch/kernel subfolder. Once you want them back, do git restore.
  11. I just tried running fstrim on my HC1 which has a Samsung 860 EVO in it and got no errors. I was not aware that fstrim support is device-specific. As mentioned by @Igor, try the official ubuntu image and report the issue to https://forum.odroid.com/viewforum.php?f=225 if you can reproduce it. Other than that, do you mind sharing a link to the bug you posted? Are there any specific errors you are seeing?
  12. Hello, for quite some time I have noticed that it seems impossible to build just the kernel, an image is built every time. I am using the following command: ./compile.sh BOARD=odroidxu4 BRANCH=current RELEASE=bullseye BUILD_MINIMAL=yes BUILD_DESKTOP=no BUILD_ONLY="kernel" KERNEL_CONFIGURE=no USE_CCACHE=no KEEP_KERNEL_CONFIG=no DEB_COMPRESS=xz Additionally, output/debs seems not to be cleaned, despite documentation indicating this should happen with default CLEAN_LEVEL. Am I doing something wrong? Or does documentation need updating? Thanks!
  13. As I mentioned above, it is really a lot of work: I neither have the time nor the skill to do this unfortunately.
  14. I have now checked the rebase path and there are over 14k commits to go through. At 142nd commit I have arrived at 4th merge conflict. At this rate there are going to be 400 merge conflicts to go through. Given that my knowledge of C is non-existent, I think we might need a new plan.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines