hexdump0815 / imagebuilder

velvet os - simple script framework to build ubuntu 22.04 lts jammy (in older versions also 20.04 lts focal) and debian 12 bookworm (in older versions also 11 bullseye) bootable usb / sd card images for some arm and intel devices - lots of prebuilt images as well
GNU General Public License v3.0
282 stars 43 forks source link

Odroid U supported #39

Open Silverstar opened 2 years ago

Silverstar commented 2 years ago

I'm just opening this issue to thank you very much for your work to support even quite old boards and bring them current software!

I just obtained an odroid u which I mistakenly identified as u2 because I didn't find information about that an u1 even existed beforehand, but the pcb reads simply odroid-u. I managed to boot the current debian bullseye image on sd card. I haven't yet managed to get it running from emmc, but I found instructions in issue #1 and will try that soon.

root@changeme:~# cat /sys/devices/soc0/*
Samsung Exynos
Hardkernel ODROID-U3 board based on Exynos4412
20
EXYNOS4412

PCB shows odroid-u despite the system says it's u3.

Silverstar commented 2 years ago

And it booted from emmc! I used the updated uboot and the instructions as in issue #1. Thank you!

linux@changeme:~$ dmesg | grep mmc
[    5.934314] pwrseq_emmc pwrseq: GPIO lookup for consumer reset
[    5.934606] pwrseq_emmc pwrseq: using device tree for GPIO lookup
[    5.968511] dwmmc_exynos 12550000.mmc: IDMAC supports 32-bit address mode.
[    5.968763] dwmmc_exynos 12550000.mmc: Using internal DMA controller.
[    5.968778] dwmmc_exynos 12550000.mmc: Version ID is 240a
[    5.969015] dwmmc_exynos 12550000.mmc: DW MMC controller at irq 112,32 bit host data width,128 deep fifo
[    5.970790] dwmmc_exynos 12550000.mmc: GPIO lookup for consumer cd
[    5.970800] dwmmc_exynos 12550000.mmc: using device tree for GPIO lookup
[    5.970838] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/mmc@12550000[0]'
[    5.970873] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/soc/mmc@12550000[0]'
[    5.970892] dwmmc_exynos 12550000.mmc: using lookup tables for GPIO lookup
[    5.970925] dwmmc_exynos 12550000.mmc: No GPIO consumer cd found
[    5.970937] dwmmc_exynos 12550000.mmc: GPIO lookup for consumer wp
[    5.970945] dwmmc_exynos 12550000.mmc: using device tree for GPIO lookup
[    5.970980] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/mmc@12550000[0]'
[    5.971015] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc/mmc@12550000[0]'
[    5.971032] dwmmc_exynos 12550000.mmc: using lookup tables for GPIO lookup
[    5.971043] dwmmc_exynos 12550000.mmc: No GPIO consumer wp found
[    5.971138] dwmmc_exynos 12550000.mmc: allocated mmc-pwrseq
[    5.971152] mmc_host mmc1: card is polling.
[    5.976517] s3c-sdhci 12530000.sdhci: clock source 2: mmc_busclk.2 (50000000 Hz)
[    5.986239] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[    6.071875] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    6.073762] mmc1: new DDR MMC card at address 0001
[    6.076403] mmcblk1: mmc1:0001 016G92 14.7 GiB
[    6.077112] mmcblk1boot0: mmc1:0001 016G92 partition 1 4.00 MiB
[    6.077853] mmcblk1boot1: mmc1:0001 016G92 partition 2 4.00 MiB
[    6.078748] mmcblk1rpmb: mmc1:0001 016G92 partition 3 512 KiB, chardev (246:0)
[    6.084884]  mmcblk1: p1 p2
[    6.142804] mmc0: SDHCI controller on samsung-hsmmc [12530000.sdhci] using ADMA
[   13.454344] BTRFS: device label rootpart devid 1 transid 32 /dev/mmcblk1p2 scanned by btrfs (219)
[   13.819245] BTRFS info (device mmcblk1p2): disk space caching is enabled
[   13.820588] BTRFS info (device mmcblk1p2): has skinny extents
[   13.857591] BTRFS info (device mmcblk1p2): enabling ssd optimizations
[   16.807195] BTRFS info (device mmcblk1p2): force zstd compression, level 3
[   16.817080] BTRFS info (device mmcblk1p2): disk space caching is enabled
[   21.163297] EXT4-fs (mmcblk1p1): mounted filesystem without journal. Opts: errors=remount-ro
Silverstar commented 2 years ago

And it boots with the kernel from backports repository: Linux version 5.16.0-0.bpo.4-rt-armmp (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_RT Debian 5.16.12-1~bpo11+1 (2022-03-08) I did not test hdmi output as I'm missing the HDMI adapter. dmesg.txt

hexdump0815 commented 2 years ago

thanks a lot for reporting all this - i added the odroid u to the supported systems as well now :)