FW upgarde


#1

While booting the 410c board with a mainline kernel (4.10-rc3) I get psci related error messages:

[ 0.000000] Linux version 4.10.0-rc3+ (mpoirier@t430)

[ 0.047516] smp: Bringing up secondary CPUs …
[ 0.079627] psci: failed to boot CPU1 (-95)
[ 0.079634] CPU1: failed to boot: -95
[ 0.079639] CPU1: failed in unknown state : 0x0
[ 0.111694] psci: failed to boot CPU2 (-95)
[ 0.111700] CPU2: failed to boot: -95
[ 0.111706] CPU2: failed in unknown state : 0x0
[ 0.143768] psci: failed to boot CPU3 (-95)
[ 0.143775] CPU3: failed to boot: -95
[ 0.143780] CPU3: failed in unknown state : 0x0
[ 0.143826] smp: Brought up 1 node, 1 CPU
[ 0.143832] SMP: Total of 1 processors activated

Error code 95 is EOPNOTSUPP. The release notes for 16.09 [1] mention a move to PSCI, something that mandates a FW upgrade. As such I would appreciate if someone could point me to instructions on how to upgrade the FW on a dragonboard 410c.

Clarifications on which FW bundle to use would also be useful - the release notes send you to [2] but on the QC developer network page I can find another bundle [3].

Thanks,
Mathieu

[1]. http://builds.96boards.org/releases/dragonboard410c/linaro/debian/latest/
[2]. https://developer.qualcomm.com/download/db410c/linux-board-support-package-v1.4.zip
[3]. https://developer.qualcomm.com/download/db410c/linux-bootloader-and-firmware-v10304-psci.zip


#2

hi Matthieu,

download the latest firmware/bootloader release , e.g.

http://builds.96boards.org/releases/dragonboard410c/linaro/rescue/latest/dragonboard410c_bootloader_emmc_linux-72.zip

Now, based on when you flashed the board the last time , there are 2 methods…

#1 - the simple method

put the board in ‘fastboot’ mode and run the ./flashall script from the bootloader ZIP file.

fastboot flash tz tz-psci.mbn

if that works, you should be good to go… but if you use an old bootloader it might not work , and you might get a ‘data too large’ issue, in which case, you need to use :

#2 - the other method :wink:

put the board in ‘fastboot’ mode and run the ./flashall script from the bootloader ZIP file.
note that it will wipe out your eMMC, so you will need to reflash your rootfs after that.


#3

tz-psci.in is located in the bootloader ZIP file you downloaded…


#4

Running the “flashall” script was sufficient to get things going - all for cores are booting now:

[ 0.047513] smp: Bringing up secondary CPUs …
[ 0.079797] Detected VIPT I-cache on CPU1
[ 0.079842] CPU1: Booted secondary processor [410fd030]
[ 0.111850] Detected VIPT I-cache on CPU2
[ 0.111886] CPU2: Booted secondary processor [410fd030]
[ 0.143917] Detected VIPT I-cache on CPU3
[ 0.143949] CPU3: Booted secondary processor [410fd030]
[ 0.144011] smp: Brought up 1 node, 4 CPUs
[ 0.144032] SMP: Total of 4 processors activated.

Thanks for the help,
Mathieu