Odroid C1 no HDMI output with ALARM

This forum is for supported devices using an ARMv7 Amlogic SoC.

Odroid C1 no HDMI output with ALARM

Postby InFerNo » Sun Feb 05, 2023 5:07 pm

I have an Odroid C1 that had an ALARM installation for several years. Recent problems had me reinstall the OS, but I'm running into issues.

When I follow the ALARM instructions found on this page I get no output on the HDMI.

When I use the Ubuntu 18.04 image from this page (via the Odroid wiki) the device will boot and show output on the HDMI.

I have tried copying the boot.ini file from the Ubuntu version to the ALARM install, but the problem persists.

Additionally, the network doesn't appear to come up on the fresh ALARM install. NUMLOCK on the keyboard does nothing, I'm not even sure it properly booted at this point.

How can I proceed to troubleshoot?
Last edited by InFerNo on Sun Feb 05, 2023 9:12 pm, edited 1 time in total.
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm

Re: Odroid C1 no HDMI output with ALARM

Postby windozupdat3 » Sun Feb 05, 2023 9:02 pm

Are you using the mainline (ehm... obsolete mainline) kernel? As far as I remember it was not supporting hdmi output on the C1: viewtopic.php?f=23&t=15714&p=68694&hilit=odroid+c1+hdmi#p68694
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1 no HDMI output with ALARM

Postby InFerNo » Sun Feb 05, 2023 9:11 pm

How can I tell? I can't even see the first boot. I'm using http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz from the guide on this website. I assume it has a working version. If needed I can detach the eMMC and change packages with my PC, or example like

$this->bbcode_second_pass_code('', 'pacman -Syu --root /mnt/emmc --arch armv7h --verbose --config /mnt/emmc/etc/pacman.conf')

edit:
warning: linux-odroid-c1-3.10.107-5 is up to date -- reinstalling
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm

Re: Odroid C1 no HDMI output with ALARM

Postby windozupdat3 » Sun Feb 05, 2023 9:34 pm

By inspecting the uImage it seems that it still using the old kernel version (non mainline):
$this->bbcode_second_pass_code('', 'file uImage
uImage: u-boot legacy uImage, Linux-3.10.107-5-ARCH, Linux/ARM, OS Kernel Image (lzma), 4247620 bytes, Fri Mar 26 23:21:49 2021, Load Address: 0X208000, Entry Point: 0X208000, Header CRC: 0XB2D7D912, Data CRC: 0XA3280C99')
Therefore the hdmi output should be theoretically supported.
According to this table, the mainline kernel is still missing hdmi output instead: https://linux-meson.com/hardware.html

I suspect there might be something wrong with the boot.ini, then.
What is the led status (blink) when booting alarm?
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1 no HDMI output with ALARM

Postby InFerNo » Sun Feb 05, 2023 9:55 pm

Looks to me like it's solid red and blue. When I plug the power in, it's red for 1 or 2 seconds, then blue comes up and both stay up. No blinking of either.
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm

Re: Odroid C1 no HDMI output with ALARM

Postby windozupdat3 » Sun Feb 05, 2023 10:10 pm

The led have the following meaning:
$this->bbcode_second_pass_quote('', 'T')he red LED
• Is on when power is available
The blue LED
• Is on (solid light) when the bootloader is running
The blue LED
• Blinks slowly when the kernel is running, like a heartbeat
The blue LED
• Blinks quickly when the kernel is in panic mode


Have you tried booting from a microSD?
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1 no HDMI output with ALARM

Postby InFerNo » Sun Feb 05, 2023 10:20 pm

I unfortunately do not have a MicroSD.
When I flash the Ubuntu image on this SSD it does boot from the eMMC though.

Judging by the LEDs, I can conclude that the device is stuck in the bootloader.
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm

Re: Odroid C1 no HDMI output with ALARM

Postby windozupdat3 » Sun Feb 05, 2023 11:01 pm

Indeed, could you post the diff between the two boot.ini files?
windozupdat3
 
Posts: 39
Joined: Tue Aug 29, 2017 9:07 am

Re: Odroid C1 no HDMI output with ALARM

Postby InFerNo » Mon Feb 06, 2023 8:50 pm

Arch left, Ubuntu right:
Image

$this->bbcode_second_pass_code('', '~ % diff boot.ini /run/media/user/edb4b9ef-56f3-4745-a678-2c740c8abf25/boot/boot.ini
6a7,8
> # setenv m "480x320p60hz" # 480x320
> # setenv m "480x272p60hz" # 480x272
79c81
< setenv disable_vu7 "true" # false
---
> setenv disable_vu7 "false" # false
95c97,98
< setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
---
> # Boot Arguments
> setenv bootargs "root=UUID=edb4b9ef-56f3-4745-a678-2c740c8abf25 rootwait rw ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
104c107
< bootm 0x21000000 - 0x21800000
---
> bootm 0x21000000 0x21800000"
')

Arch (default from the image):
$this->bbcode_second_pass_code('', 'ODROIDC-UBOOT-CONFIG

# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.

# setenv m "480x800p60hz" # 480x800
# setenv m "vga" # 640x480
# setenv m "480p" # 720x480
# setenv m "576p" # 720x576
# setenv m "800x480p60hz" # 800x480
# setenv m "800x600p60hz" # 800x600
# setenv m "1024x600p60hz" # 1024x600
# setenv m "1024x768p60hz" # 1024x768
# setenv m "1360x768p60hz" # 1360x768
# setenv m "1440x900p60hz" # 1440x900
# setenv m "1600x900p60hz" # 1600x900
# setenv m "1680x1050p60hz" # 1680x1050
# setenv m "720p" # 720p 1280x720
# setenv m "800p" # 1280x800
# setenv m "sxga" # 1280x1024
# setenv m "1080i50hz" # 1080I@50Hz
# setenv m "1080p24hz" # 1080P@24Hz
# setenv m "1080p50hz" # 1080P@50Hz
setenv m "1080p" # 1080P@60Hz
# setenv m "1920x1200" # 1920x1200

# HDMI DVI Mode Configuration
setenv vout_mode "hdmi"
# setenv vout_mode "dvi"
# setenv vout_mode "vga"

# HDMI BPP Mode
setenv m_bpp "32"
# setenv m_bpp "24"
# setenv m_bpp "16"

# Monitor output
# Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "false" # true or false

# HDMI Hotplug Force (HPD)
# 1 = Enables HOTPlug Detection
# 0 = Disables HOTPlug Detection and force the connected status
setenv hpd "0"

# CEC Enable/Disable (Requires Hardware Modification)
# 1 = Enables HDMI CEC
# 0 = Disables HDMI CEC
setenv cec "0"

# PCM5102 I2S Audio DAC
# PCM5102 is an I2S Audio Dac Addon board for ODROID-C1+
# Uncomment the line below to __ENABLE__ support for this Addon board.
# setenv enabledac "enabledac"

# UHS Card Configuration
# Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
# This might break boot for some brand models of cards.
setenv disableuhs "disableuhs"


# Disable VPU (Video decoding engine, Saves RAM!!!)
# 0 = disabled
# 1 = enabled
setenv vpu "1"

# Disable HDMI Output (Again, saves ram!)
# 0 = disabled
# 1 = enabled
setenv hdmioutput "1"

# Default Console Device Setting
# setenv condev "console=ttyS0,115200n8" # on serial port
# setenv condev "console=tty0" # on display (HDMI)
setenv condev "console=tty0 console=ttyS0,115200n8" # on both

# Enable/Disable ODROID-VU7 Touchscreen
setenv disable_vu7 "true" # false

# CPU Max Frequency
# Possible Values: 96 192 312 408 504 600 720 816
# 1008 1200 1320 1488 1536 1632 1728 and 1824
setenv max_freq "1536"
# setenv max_freq "1632"
# setenv max_freq "1728"
# setenv max_freq "1824"

###########################################

if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
ext4load mmc 0:1 0x21000000 /boot/uImage
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi

if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

bootm 0x21000000 - 0x21800000
')


Ubuntu:
$this->bbcode_second_pass_code('', 'ODROIDC-UBOOT-CONFIG

# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.

# setenv m "480x320p60hz" # 480x320
# setenv m "480x272p60hz" # 480x272
# setenv m "480x800p60hz" # 480x800
# setenv m "vga" # 640x480
# setenv m "480p" # 720x480
# setenv m "576p" # 720x576
# setenv m "800x480p60hz" # 800x480
# setenv m "800x600p60hz" # 800x600
# setenv m "1024x600p60hz" # 1024x600
# setenv m "1024x768p60hz" # 1024x768
# setenv m "1360x768p60hz" # 1360x768
# setenv m "1440x900p60hz" # 1440x900
# setenv m "1600x900p60hz" # 1600x900
# setenv m "1680x1050p60hz" # 1680x1050
# setenv m "720p" # 720p 1280x720
# setenv m "800p" # 1280x800
# setenv m "sxga" # 1280x1024
# setenv m "1080i50hz" # 1080I@50Hz
# setenv m "1080p24hz" # 1080P@24Hz
# setenv m "1080p50hz" # 1080P@50Hz
setenv m "1080p" # 1080P@60Hz
# setenv m "1920x1200" # 1920x1200

# HDMI DVI Mode Configuration
setenv vout_mode "hdmi"
# setenv vout_mode "dvi"
# setenv vout_mode "vga"

# HDMI BPP Mode
setenv m_bpp "32"
# setenv m_bpp "24"
# setenv m_bpp "16"

# Monitor output
# Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "false" # true or false

# HDMI Hotplug Force (HPD)
# 1 = Enables HOTPlug Detection
# 0 = Disables HOTPlug Detection and force the connected status
setenv hpd "0"

# CEC Enable/Disable (Requires Hardware Modification)
# 1 = Enables HDMI CEC
# 0 = Disables HDMI CEC
setenv cec "0"

# PCM5102 I2S Audio DAC
# PCM5102 is an I2S Audio Dac Addon board for ODROID-C1+
# Uncomment the line below to __ENABLE__ support for this Addon board.
# setenv enabledac "enabledac"

# UHS Card Configuration
# Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
# This might break boot for some brand models of cards.
setenv disableuhs "disableuhs"


# Disable VPU (Video decoding engine, Saves RAM!!!)
# 0 = disabled
# 1 = enabled
setenv vpu "1"

# Disable HDMI Output (Again, saves ram!)
# 0 = disabled
# 1 = enabled
setenv hdmioutput "1"

# Default Console Device Setting
# setenv condev "console=ttyS0,115200n8" # on serial port
# setenv condev "console=tty0" # on display (HDMI)
setenv condev "console=tty0 console=ttyS0,115200n8" # on both

# Enable/Disable ODROID-VU7 Touchscreen
setenv disable_vu7 "false" # false

# CPU Max Frequency
# Possible Values: 96 192 312 408 504 600 720 816
# 1008 1200 1320 1488 1536 1632 1728 and 1824
setenv max_freq "1536"
# setenv max_freq "1632"
# setenv max_freq "1728"
# setenv max_freq "1824"

###########################################

if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

# Boot Arguments
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks} fsck.repair=yes net.ifnames=0"

# Booting
fatload mmc 0:1 0x21000000 uImage
fatload mmc 0:1 0x22000000 uInitrd
fatload mmc 0:1 0x21800000 meson8b_odroidc.dtb
fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi

if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

bootm 0x21000000 0x22000000 0x21800000"
')

My "version":
$this->bbcode_second_pass_code('', 'ODROIDC-UBOOT-CONFIG

# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.

# setenv m "480x320p60hz" # 480x320
# setenv m "480x272p60hz" # 480x272
# setenv m "480x800p60hz" # 480x800
# setenv m "vga" # 640x480
# setenv m "480p" # 720x480
# setenv m "576p" # 720x576
# setenv m "800x480p60hz" # 800x480
# setenv m "800x600p60hz" # 800x600
# setenv m "1024x600p60hz" # 1024x600
# setenv m "1024x768p60hz" # 1024x768
# setenv m "1360x768p60hz" # 1360x768
# setenv m "1440x900p60hz" # 1440x900
# setenv m "1600x900p60hz" # 1600x900
# setenv m "1680x1050p60hz" # 1680x1050
# setenv m "720p" # 720p 1280x720
# setenv m "800p" # 1280x800
# setenv m "sxga" # 1280x1024
# setenv m "1080i50hz" # 1080I@50Hz
# setenv m "1080p24hz" # 1080P@24Hz
# setenv m "1080p50hz" # 1080P@50Hz
setenv m "1080p" # 1080P@60Hz
# setenv m "1920x1200" # 1920x1200

# HDMI DVI Mode Configuration
setenv vout_mode "hdmi"
# setenv vout_mode "dvi"
# setenv vout_mode "vga"

# HDMI BPP Mode
setenv m_bpp "32"
# setenv m_bpp "24"
# setenv m_bpp "16"

# Monitor output
# Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "false" # true or false

# HDMI Hotplug Force (HPD)
# 1 = Enables HOTPlug Detection
# 0 = Disables HOTPlug Detection and force the connected status
setenv hpd "0"

# CEC Enable/Disable (Requires Hardware Modification)
# 1 = Enables HDMI CEC
# 0 = Disables HDMI CEC
setenv cec "0"

# PCM5102 I2S Audio DAC
# PCM5102 is an I2S Audio Dac Addon board for ODROID-C1+
# Uncomment the line below to __ENABLE__ support for this Addon board.
# setenv enabledac "enabledac"

# UHS Card Configuration
# Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
# This might break boot for some brand models of cards.
setenv disableuhs "disableuhs"


# Disable VPU (Video decoding engine, Saves RAM!!!)
# 0 = disabled
# 1 = enabled
setenv vpu "1"

# Disable HDMI Output (Again, saves ram!)
# 0 = disabled
# 1 = enabled
setenv hdmioutput "1"

# Default Console Device Setting
# setenv condev "console=ttyS0,115200n8" # on serial port
# setenv condev "console=tty0" # on display (HDMI)
setenv condev "console=tty0 console=ttyS0,115200n8" # on both

# Enable/Disable ODROID-VU7 Touchscreen
setenv disable_vu7 "false" # false

# CPU Max Frequency
# Possible Values: 96 192 312 408 504 600 720 816
# 1008 1200 1320 1488 1536 1632 1728 and 1824
setenv max_freq "1536"
# setenv max_freq "1632"
# setenv max_freq "1728"
# setenv max_freq "1824"

###########################################

if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

# Boot Arguments
setenv bootargs "root=UUID=edb4b9ef-56f3-4745-a678-2c740c8abf25 rootwait rw ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
ext4load mmc 0:1 0x21000000 /boot/uImage
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi

if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

bootm 0x21000000 0x21800000"
')
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm

Re: Odroid C1 no HDMI output with ALARM

Postby InFerNo » Sun Feb 12, 2023 8:58 pm

I happened to have a "ArchLinuxARM-odroid-c1-latest.tar.gz" from 2020 in my archives. I used that one to install, which worked. The system booted first try. I updated the packages to the latest versions and the system has kept working.
InFerNo
 
Posts: 14
Joined: Sat Jan 03, 2015 12:35 pm


Return to Amlogic

Who is online

Users browsing this forum: No registered users and 3 guests