Hello,
I'm running Linux Alarm on my old Odroid X.
The mac address gets randomized. I tried to update the /boot/boot.txt and added
$this->bbcode_second_pass_code('', '[alarm@alarm boot]$ cat boot.txt
# After modifying, run ./mkscr
# MAC address configuration
setenv macaddr "5e:da:15:44:21:bd"
setenv ethaddr "5e:da:15:44:21:bd"
part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs "console=tty1 console=${console} root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr=${macaddr}"
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi')
Then ran ./mkscr. After the reboot, the mac address is still random.
Last time I updated the system, I got the message below:
$this->bbcode_second_pass_code('', '
(122/125) upgrading uboot-odroid-x [##############################################] 100%
>>> Note: uEnv.txt is no longer used. Make any customizations within /boot/boot.txt
and run ./mkscr within /boot to convert it to the boot.scr file.
A new U-Boot version needs to be flashed onto /dev/mmcblk0.
Do you want to do this now? [y|N]
y
No MMC device to flash, exiting.')
I think this could be curlprit? Please note I've no uEnv.txt
Keep in mind I installed everything on the onboard emmc, no more relying on the SD card.
I'm now on Linux alarm 4.16.0-1-ARCH #1 SMP Fri Apr 6 01:55:57 UTC 2018 armv7l GNU/Linux
Note I've only those mmc devices:
$this->bbcode_second_pass_code('', 'NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1 179:0 0 14.7G 0 disk
`-mmcblk1p1 179:1 0 14.7G 0 part /
mmcblk1boot0 179:16 0 4M 1 disk
mmcblk1boot1 179:32 0 4M 1 disk')
My boot switch on my board is off (emmc).
When installing, I've followed the procedure at https://archlinuxarm.org/platforms/armv ... g/odroid-x but as I do not have any microsd adapter, I've first created the SD card, then re-followed the same steps from the Arch linux booted from SD.
Is there a way to tell the updater my device is on /dev/mmcblk1 ? Or I've completely messed up?
In dmesg I cannot see the correct parameters to force the mac address.
Another thing I noticed is the fact in the guide the switch "behavior" is inverse to what's actually printed on the board:
$this->bbcode_second_pass_quote('', '
')Set the boot switches on the ODROID-X board to boot from SD:
Locate the jumper between the SD slot, USB ports, and heatsink, labeled for eMMC and SD selection
Place the jumper over just one of the pins (so you don't lose it), not over both pins.