Crash without information


#1

I am trying to compile the swift runtime from apple in the the HiKey board, using the out of the box operating system or the latest debían jessie in a microsd. In both cases I follow these steps:

sudo apt-get update

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libcurl4-openssl-dev autoconf libtool systemtap-sdt-dev

sudo apt-get install screen

sudo reboot now

screen

mkdir swift-source

cd swift-source

git clone https://github.com/apple/swift.git

./swift/utils/update-checkout --clone

./swift/utils/build-script -r -t

After some minutes, the system crashes and reboots. No error is shown in any log.

I do all the steps using ssh.

Any ideas?

Thanks in advance,

    Jose M.

#2

Hi there,

I’m a bit suspect this is related with thermal issue, could you please try below the method is shared by Jorge in the thread: http://www.96boards.org/forums/topic/hikey-unexpected-shutdown-overheating/#post-16902&gsc.tab=0

“As temporary solution just add the following two lines to /etc/rc.local so it looks like follows:”

test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server

modprobe hisi-acpu-cpufreq
echo "power_allocator" > /sys/class/thermal/thermal_zone0/policy

exit0

I will discuss internally to check if we can enable thermal management module properly by default.


#3

Now the board seems to work properly. The drawback is the reduction of the frequency, though I think it is better than a reboot.

Thanks for your help.