<matthewcroughan>
Like look at the odroid c2, it shows buidling u-boot, signing it, etc.
2021-04-17
<patagonicus>
Sigh. My config for the odroid hc2s is such a mess. I think I'll make a fresh start to merge it into my shared modules, that might be faster.
2021-04-16
<patagonicus>
But I really need to untangle my configuration for the arm devices, split it into (headless) arm settings, odroid HC2 specific settings and then the actual system configuration and merge all of that into my shared set of modules ...
<patagonicus1>
My latest successful build was on top of 764448055551a4c664a1b0e2cecfc61731b32c5d (nixos-unstable-small last weekend or so). On top of that I have a version bump for the hardkernel kernel (only relevant for a few Odroid devices)
2021-04-15
<samueldr>
CONFIG_IDENT_STRING=" for ODROID-XU3/XU4/HC1/HC2"
<edrex>
trying to get my brain back in the odroid groove
<edrex>
i've finally gotten back around to installing on my two odroid hc1s. patagonicus any words of warning with current unstable?
2021-04-12
<anton[m]>
for odroid boards
<samueldr>
e.g. I don't have any odroid boards to test with, but I do have an amlogic board I could, and it just struck me how to tie this all up together better
<gchristensen>
I then wondered is Image nixos or some odroid provided thing? should I back it up?
<gchristensen>
I dragged my odroid c2 out today to play with
2021-02-18
<luxemboye>
because on grub you can just choose the generation at boot, which at least I can't do on my odroid c2 with uboot/extlinux
2021-02-17
<luxemboye>
I'm getting an error when installing NixOS on the ODROID C2
<luxemboye>
Hello there, I've been having some issues trying to get NixOS to work on the ODROID C2 (even with the wiki pages)
2021-02-10
<patagonicus>
It seems to lose the hostPlatform extraConfig, although I don't understand why. The hostPlatform extraConfig for armv7 has one markerd as "Odroid XU4 hangs without this" and I'm using Odroid HC2s, which are almost identical …
<edrex>
patagonicus heey, i'm just about to attempt nixos install on an odroid hc1. Last time I tried (a few months back, following your instructions on the wiki), it wouldn't boot (and I don't have a TTL-USB cable to look at the UART rn). So if you're still around I might HYU with Qs..
2021-01-08
<misuzu>
probably. i have two ODROID-H2 and they have uart. i can even enter the bios
2020-12-30
<maddo>
hello, is there any support for the ODROID-C4? They released the new HC4 with sata over pci-e and it seems like a great buy for the price
2020-12-13
<samueldr>
odroid-flavoured amlogic may be annoying to deal with
<craige>
Is anyone aware of any notes on running NixOS on the Odroid HC-4 or am I pioneering here?
2020-12-12
<patagonicus>
I should really figure out why my system builds git just to download the odroid-xu3-bootloader source from Github. I already have git installed and the package is just using fetchFromGitHub.
2020-12-07
<patagonicus>
Another file not found for an include? I wonder if odroid is doing weird things with the 5.4 kernel.
<patagonicus>
Hmm. Tried building the 5.4.y odroid kernel, but I just get a "[../Makefile:179: sub-make] Error 2"
2020-12-05
<patagonicus>
Yay, finally seem to have worked around the odroid HC2 not giving the HDD enough time to shut down. It was just cutting power, which HDDs don't like. :)
2020-11-27
<sds2>
How is the Odroid HC2 holding up with NixOS?
<patagonicus>
This channel was also very helpful in getting my Odroid HC2s running. So feel free to ask if you get stuck somewhere.
2020-11-14
<patagonicus>
Well, I've managed to get Nixos running on the Odroid HC2s and that wasn't documented. That's what this channel is for, right? :D
2020-11-13
<patagonicus>
steveeJ: Not quite what you are looking for, but I'm working on a 4-node Gluster system built on Odroid HC2s. Those are 32-bit armv7 and I haven't gotten around to fixing a few things I need for automated reboots, partially caused by using full disk encryption, so I haven't gotten to the actual Gluster part yet. But I'm happy to share parts of my
2020-11-11
<patagonicus>
Basically you can use the generic multiplatform armv7 image, you just have to install the odroid specific uboot things on top. Then there's a couple of board specific things that should go into your configuration.nix.
<lopsided98>
__red__: are you talking about the ODROID-HC2?
2020-11-10
<__red__>
odroid HC-2
<__red__>
I standardized what feels like an age ago on the odroid HC-2s
2020-11-09
<patagonicus>
So, I have a system with a few small servers set up, but no desktop environment. I think my 4 odroid HC2 need about 12h to compile it. It's not massively distributed among them, but each of them is an octacore ARM chip.
2020-10-19
<patagonicus>
My current cooling "solution" for my Odroid HC2s includes a book as an integral component. A stress test suggests it works, but maybe I'll need to think about some of my life choices.
2020-09-25
<lopsided98>
My ODROID-XU4 with 1G swap doesn't have enough RAM to compile rustc anymore (at least not with 4 cores simultaneously)
2020-09-18
<kurolox>
I don't understand the part about "Note this assumes u-boot is in partition 1 of your board's connected eMMC. If you haven't done that yet, you can build it with nix and then write it this fusing script" part. I don't even have an eMMC chip. Do I need a working NixOS installation in order to install it on my odroid?
<angerman>
ohh I have nixOS on an Odroid N2, and on a RockPi, but those are hopelessly underpowered.
2020-08-27
<jasom>
now to take all my notes and update the Nix odroid-c2 wiki page
<jasom>
samueldr: saw you have a pine64 pro in scrollback; how is X11 support on it? I have an odroid-c2 and couldn't even get the modeswitching driver to work, so I'm stuck on fbdev which is dog-slow.
2020-08-21
<jasom>
I'm trying to figure out how to install on an odroid-c2. I found this page: https://nixos.wiki/wiki/NixOS_on_ARM/ODROID-C2 but I don't have u-butt on partition 1 of the eMMC, and the two links didn't help me figure it out. I eventually found the openSUSE page which looks promising, but is there not just an image I can dd onto my eMMC card from an amd64 machine?
2020-08-02
<angerman>
wavirc22: as reported on the repo, I have it working on a eMMC. On the odroid forum someone reported having a bad eMMC. Does yours alllow you booting other images?
2020-07-27
<pinkieval>
I had a fan blowing on my shelf of odroids
2020-07-26
<pinkieval>
odroid n2
2020-07-15
<patagonicus>
I could have probably used something that can take 2-4 HDDs, but putting Glusterfs on four smaller machines sounded like more fun and I got the Odroid HC2s recommended by a coworker.
2020-07-11
<patagonicus>
It's also a bit hacky, I use the populateFirmwareCommands to dd the odroid bootloader onto the image. Those commands are only supposed to copy files to ./files, not mess with $img
2020-06-30
<patagonicus>
The annoying bit is that you'll have to manually install u-boot to the SD card. There's a script in the nix/store/*-odroid-xu3-bootloader/ dir on the sd image, but the script is using the armv7 bash and the paths are all for the sd card. But in the end it's only dd'ing four files at different offsets which isn't too hard to do manually.
2020-06-29
<lopsided98>
My ODROID-XU4 refuses to warm reboot. It just hangs early in the kernel. Same with my RockPro64...
2020-06-28
<patagonicus>
But, on the upside: I can built a full sd-image on the HC2, flash it, flash odroid-xu3-bootloader and it works. :)
<patagonicus>
Wow, now I'm super confused. If I built odroid-xu3-bootloader on the HC2 itself (or rather ubootOdroidXU3) then it correctly tries to load exynos5422-odroidhc1.dtb instead of exynos5422-odroid.dtb. So that seems to be a problem with cross-compiling.
<patagonicus>
"can't open fsimg temp.img: Value too large for defined data type" well, that's an error I didn't expect for building a new sd-image on the odroid itself instead of cross-compiling.
2020-06-27
<patagonicus>
The odroid-xu3-bootloader package is a bit … annoying. It's only available for armv7, which makes a bit of sense, but I think that's only for the u-boot part, because all the bootloader package does is combining the u-boot blob with a few binary files from hardkernel and a shell script that will dd the files to the right place on an sd card. But because you have to install the armv7
2020-06-26
<patagonicus>
So, turns out all you need to do is: create the generic armv7 sd image and flash it to an SD card, go to the dtbs dir and cp the odroidhc1 file to odroid and flash the the xu3 uboot from nixpkgs.
<srk>
hmm, not sure, maybe board_name is part of exynos5422-odroid you can try changing with set board_name odroid-...
<patagonicus>
The prompt is also ODROID-XU3.
<patagonicus>
"board_name=odroid" I guess that's it.
<patagonicus>
srk: Hmm, how do I built the uboot from the PR? For the one in upstream nixpkgs I just added odroid-xu3-bootloader to the pkgs to install in my configuration.nix (and then extracted that from /nix/store from the resulting sd-image).
<patagonicus>
Anyone want to help me getting nixos booted on my odroid hc2? I have an armv7 image that runs on a RPi3, but I'm fighting with u-boot.
2020-06-24
<srk>
I was quite happy with Odroid XU4, haven't used any pine64 so can't really compare, I guess it also depends if you want armv7 or aarch64
<gmr>
patagonicus: you seem to prefer odroid over pine64 - i'm curious as to the reason(s) for that
<patagonicus>
Hmm, maybe, although I don't really want to use unofficial caches. :) I mostly trying to experiment with armv7l NixOS on a RPi because I eventually want to run it on a few Odroid HC2 (but booting them is different, unfortunately).
2020-06-23
<patagonicus>
Hmmhmm. So building the image on a native armv7 machine shouldn't have that problem, right? Not that I'm really thinking about that on my RPi, but (if I can get everything to work) I'm thinking of having a 3 machine "cluster" of Odroid HC2 and could just set them up to build an installer once a month or so just in case I need it.
2020-06-22
<patagonicus>
Hi there. Not quite aarch64, but the main channel recommended asking here anyway. :) I'm trying to run NixOS on an Odroid HC2, which is armv7l, but I can only find old references (i.e. the wiki links to images from 2018, which at least boot on a RPi3). Does anyone have pointers for how to get an armv7 machine up? Either for the HC2 or generic armv7.
<angerman>
samueldr: radxa with their rockpi did not put a spi on their board, but documented all this really well (also rockchip), so you could build this trivially. The odroid-n2 has an spi chip, still just these steps should be the bare minimum to document imho; it doesn't hurt them, and has only upsides as far as I can see. Well here we are.
2020-06-11
<cript0nauta>
i wanted to get one but they were out of stock so i got an odroid HC2 instead, that also works nice
<samueldr>
hmmm, does the mainline kernel even support the odroid-c2?
<gchristensen>
it has been another few weeks and I've forgotten the details about nixos on my odroid, but I should figure it out...
2018-12-31
<samueldr>
I believe it was with a Type C cable (so mini) ODROID-C1 has a grounding issue making some cables work and some not; I don't know whether it was the cable which were non-compliant or the ODROID, maybe both :/
2018-12-14
<gchristensen>
update: I mentioned I might try and get nixos on my odroid-c2, but unless someone tells me fairly specific set of commands to do it, I won't be able to tonight as I work on upgrading Packet to 18.09 images.
<samueldr>
right, I didn't open a PR for the odroid u-boot since it needed a bunch of cleanup
<peel>
hey, what's the story with odroid-c2? i'm about to resurrect my rpi/odroid cluster and obviously i'd prefer running nixos.
<THFKA4>
got a couple ODROIDs running 4.14 though
2018-11-22
<gchristensen>
actually just 2x parallelas and 1x odroid-c2
2018-11-21
<samueldr>
my odroid-c1's emmc came with a usb reader I think
<clever>
after glancing at the odroid wiki gchristensen linked above, it looks like the bootloader is in the tarball with sd_fusing.sh
<clever>
odroid_defconfig lacks CONFIG_SPL's though
<samueldr>
odroid has an old crusty u-boot fork :(
<samueldr>
hmm, took a quick peek at the odroid-c2's u-boot, can't try anything blind easily
<samueldr>
which I'm not sure the odroid-c2 does
* gchristensen
goes to get his odroid c2
2018-10-18
<tathougies>
This is for an ODROID C2
2018-10-10
<timokau[m]>
Buying the odroid from a US retailer and shipping it to germany actually seems a bit cheaper (because that makes perfect economic sense)
<timokau[m]>
For some reason the odroid c2 and the pine are both roughly twice as expensive on german amazon than they are on amazon.com :/ I'd love to finally have a board with proper gigabit ethernet.
2018-10-04
<tathougies>
Hello! I was wondering if anyone had experience getting nixos running on the ODROID-C2 platform (or any other ODROID platform, I'm flexible)
2018-09-13
<samueldr>
e.g. the Amlogic fork used for the ODROID-C1 fork (before some bits were upstreamed) was old enough that it didn't support exlinux
2018-04-27
<samueldr>
(about the odroid-c2)
<kahiru>
hey, I have odroid-c2, anyone tried running nixos on it?
2018-03-25
<netixx>
Anyone build an image for odroid-c2 ?
2018-01-25
<grw>
Linux odroid-c2 4.14.4 #1-NixOS SMP PREEMPT Tue Dec 5 10:26:38 UTC 2017 aarch64 GNU/Linux
<samueldr>
(I updated the WIP wiki page for odroid-c2 with a report that mainline builds were reported to work)
<samueldr>
yeah, I was going to ask: did you actually use mailine kernel with odroid-c2?
2018-01-24
<chris|>
hi all. I was wandering, has anyone managed to get nixos working on the odroid-c2 and can give me some pointers? :)
2018-01-14
<samueldr>
(wow, now I want an ODROID-C2 to play around with, but I don't even have the time to play around with what I already have!)
<samueldr>
one that is "not mainline", probably follows odroid's fork
<samueldr>
archlinux (at lest for odroid-c2) has two uboot packages
<alunduil>
I heard someone here might have NixOS running on the Odroid-C2. I'd love to hear how and where any resources might be located. Otherwise, does anyone have any guidance on where to start with porting to that board?
2018-01-07
<arianvp>
gchristensen: do your USB3 ports work? They work on Ubuntu but not on Nixos for me. On odroid
<arianvp>
I'm typing this on my odroid now :)
<gchristensen>
w00t I got my odroid here netbooting by default, now to generate that image ..
<arianvp>
so the ODROID XU4 has a custom fork of the kernel (like raspberry pi) that I want to use
2018-01-04
<arianvp>
as odroid has all kinds of weird patches
<arianvp>
On an Odroid XU4. it's a bit weird though because it uses a few blobs that need to be be on the SD-card at specific memory addresses, and U-boot as well