Skip to content

Commit

Permalink
11-InterruptsHandling: Add results
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Domnin <[email protected]>
  • Loading branch information
DomninDmitry-dev committed Dec 25, 2019
1 parent c6a4a40 commit 057e3cb
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 11-InterruptsHandling/result/attributes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root@orangepione:~# cd /sys/class/mpu6050/
root@orangepione:/sys/class/mpu6050# ls
accel_x accel_y accel_z gyro_x gyro_y gyro_z temp
root@orangepione:/sys/class/mpu6050# cat accel_x
-2022
root@orangepione:/sys/class/mpu6050# cat accel_y
-11720
root@orangepione:/sys/class/mpu6050# cat accel_z
1309
root@orangepione:/sys/class/mpu6050# cat gyro_x
-215
root@orangepione:/sys/class/mpu6050# cat gyro_y
3970
root@orangepione:/sys/class/mpu6050# cat gyro_z
517
root@orangepione:/sys/class/mpu6050# cat temp
24.224
48 changes: 48 additions & 0 deletions 11-InterruptsHandling/result/dmesg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
root@orangepione:~# dmesg | grep mpu
[ 5.975266] mpu6050 0-0068: sysfs class created
[ 5.975282] mpu6050 0-0068: i2c client address is 0x68
[ 5.975881] mpu6050 0-0068: i2c mpu6050 device found, WHO_AM_I register value = 0x68
[ 6.096943] mpu6050 0-0068: IRQ #56
[ 6.096954] mpu6050 0-0068: i2c driver probed
[ 176.055498] mpu6050 0-0068: Interrupt #56
[ 176.056341] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 176.178964] mpu6050 0-0068: sensor data read:
[ 176.178983] mpu6050 0-0068: ACCEL[X,Y,Z] = [691, -15476, -1441]
[ 176.178996] mpu6050 0-0068: GYRO[X,Y,Z] = [2578, 1135, 1010]
[ 176.179008] mpu6050 0-0068: TEMP = 24.215
[ 176.705214] mpu6050 0-0068: Interrupt #56
[ 176.706038] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 176.826968] mpu6050 0-0068: sensor data read:
[ 176.826986] mpu6050 0-0068: ACCEL[X,Y,Z] = [1032, -17562, 6771]
[ 176.826998] mpu6050 0-0068: GYRO[X,Y,Z] = [4320, 3641, 1050]
[ 176.827011] mpu6050 0-0068: TEMP = 24.221
[ 202.728606] mpu6050 0-0068: Interrupt #56
[ 202.729447] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 202.851887] mpu6050 0-0068: sensor data read:
[ 202.851906] mpu6050 0-0068: ACCEL[X,Y,Z] = [-721, -16786, -1841]
[ 202.851918] mpu6050 0-0068: GYRO[X,Y,Z] = [445, 2265, 179]
[ 202.851931] mpu6050 0-0068: TEMP = 24.206
[ 203.440302] mpu6050 0-0068: Interrupt #56
[ 203.441142] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 203.563905] mpu6050 0-0068: sensor data read:
[ 203.563923] mpu6050 0-0068: ACCEL[X,Y,Z] = [-86, -15955, -124]
[ 203.563936] mpu6050 0-0068: GYRO[X,Y,Z] = [5656, 1260, 901]
[ 203.563948] mpu6050 0-0068: TEMP = 24.215
[ 204.033387] mpu6050 0-0068: Interrupt #56
[ 204.034219] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 204.155926] mpu6050 0-0068: sensor data read:
[ 204.155944] mpu6050 0-0068: ACCEL[X,Y,Z] = [-716, -13328, 1751]
[ 204.155956] mpu6050 0-0068: GYRO[X,Y,Z] = [4780, 2968, 1787]
[ 204.155969] mpu6050 0-0068: TEMP = 24.224
[ 204.660227] mpu6050 0-0068: Interrupt #56
[ 204.661047] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 204.783948] mpu6050 0-0068: sensor data read:
[ 204.783965] mpu6050 0-0068: ACCEL[X,Y,Z] = [-927, -13702, 777]
[ 204.783978] mpu6050 0-0068: GYRO[X,Y,Z] = [4364, 2887, 2258]
[ 204.783990] mpu6050 0-0068: TEMP = 24.212
[ 205.235391] mpu6050 0-0068: Interrupt #56
[ 205.236221] mpu6050 0-0068: REG_INT_STATUS: 0x41
[ 205.355966] mpu6050 0-0068: sensor data read:
[ 205.355983] mpu6050 0-0068: ACCEL[X,Y,Z] = [-2022, -11720, 1309]
[ 205.355997] mpu6050 0-0068: GYRO[X,Y,Z] = [-215, 3970, 517]
[ 205.356010] mpu6050 0-0068: TEMP = 24.224
90 changes: 90 additions & 0 deletions 11-InterruptsHandling/result/start-uboot.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
U-Boot SPL 2019.04-armbian (Dec 01 2019 - 12:47:04 +0200)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2019.04-armbian (Dec 01 2019 - 12:47:04 +0200) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM: 512 MiB
MMC: mmc@1c0f000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
** Reading file would overwrite reserved memory **
There is no valid bmp file at the given address
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3798 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
251 bytes read in 2 ms (122.1 KiB/s)
6842649 bytes read in 332 ms (19.7 MiB/s)
7430672 bytes read in 360 ms (19.7 MiB/s)
Found mainline kernel configuration
29878 bytes read in 10 ms (2.8 MiB/s)
374 bytes read in 8 ms (44.9 KiB/s)
Applying kernel provided DT overlay sun8i-h3-i2c0.dtbo
274 bytes read in 3 ms (88.9 KiB/s)
Applying user provided DT overlay fake_module.dtbo
879 bytes read in 3 ms (286.1 KiB/s)
Applying user provided DT overlay mpu6050.dtbo
4155 bytes read in 4 ms (1013.7 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6842585 Bytes = 6.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49979000, end 49fff8d9 ... OK
Loading Device Tree to 49909000, end 49978fff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
Starting version 241
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 37593/228928 files, 294183/912384 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 10 (buster)!

[ OK ] Reached target Swap.
[ OK ] Listening on Journal Socket.
[ OK ] Created slice system-getty.slice.

0 comments on commit 057e3cb

Please sign in to comment.