Tips and Techniques

From odroid US
Revision as of 12:26, 9 February 2013 by Osterluk (Talk | contribs)

Jump to: navigation, search


Resize FAT partition

use gparted to resize the ext4 fs.. you'll need space to increase the fat partition.

Backup the fat partition contents..

Upon opening space for the new fat partition go to a console and type:

fdisk /dev/sdX

d
1

n
p
1
+3072


t
1
c
w

mkfs.vfat -n boot /dev/sdX1

Read temperature sensors of the odroid

First find the files the kernel drops in the sys file system

find /sys -iname *temp*
/sys/devices/platform/samsung-fake-battery/power_supply/battery/batt_temp
/sys/devices/platform/samsung-fake-battery/power_supply/battery/batt_temp_adc
/sys/devices/platform/samsung-fake-battery/power_supply/battery/batt_temp_adc_cal
/sys/devices/platform/tmu/temperature
/sys/devices/platform/tmu/throttle_temp
/sys/devices/platform/tmu/warning_temp

Then cat the one you want to know

cat /sys/devices/platform/tmu/temperature
30