uboot-odroid-c2-mainline needs to pull updated bl301.bin

Problems with packages? Post here, using [tags] of the package name.

uboot-odroid-c2-mainline needs to pull updated bl301.bin

Postby campbell » Sun Sep 03, 2017 5:05 am

As noted here: https://forum.odroid.com/viewtopic.php?f=135&t=22717&start=600#p200781 on the Odroid forum, the current version of the Arch package contains an older bl301.bin which prevents scpi clocks from being enabled with the mainline kernel, which in turn prevents cpufreq from being used.

A newer commit from Hardkernel is available: https://github.com/hardkernel/u-boot/commit/205c7b3259559283161703a1a200b787c2c445a5 and the Arch package should pull the relevant .bin files from it.
campbell
 
Posts: 8
Joined: Wed Aug 30, 2017 11:13 pm

Re: uboot-odroid-c2-mainline needs to pull updated bl301.bin

Postby kmihelich » Sun Sep 03, 2017 1:44 pm

New version is in the repos now.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: uboot-odroid-c2-mainline needs to pull updated bl301.bin

Postby campbell » Sun Sep 03, 2017 2:47 pm

Great, thanks! I can confirm that cpufreq is now working, after updating this package and adding $this->bbcode_second_pass_code('', 'fdt set /scpi/clocks status okay;') to the right place in boot.txt. My boot.txt looks like:

$this->bbcode_second_pass_code('', '# After modifying, run ./mkscr

test -n "${distro_bootpart}" || setenv distro_bootpart 1
part uuid ${devtype} ${devnum}:${distro_bootpart} uuid
setenv bootargs "console=ttyAML0,115200n8 root=PARTUUID=${uuid} rw rootwait earlycon"

if load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} /boot/Image; then
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then

#campbell added this
fdt addr ${fdt_addr_r}; fdt set /scpi/clocks status okay;

if load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi')
campbell
 
Posts: 8
Joined: Wed Aug 30, 2017 11:13 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests