Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Created January 13, 2021 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kalbasit/8b87e2b19d15416b361ada8425d4d37e to your computer and use it in GitHub Desktop.
Save kalbasit/8b87e2b19d15416b361ada8425d4d37e to your computer and use it in GitHub Desktop.
U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.4(release):
NOTICE: BL31: Built : 00:00:00, Jan 1 1980
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x208abd8, model: Pine64 PinePhone (1.2)
NOTICE: PSCI: System suspend is available via SCPI
U-Boot 2021.01 (Jan 11 2021 - 18:11:43 +0000) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM: 3 GiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 1:1... In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
No working controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:3...
Found U-Boot script /boot.scr
2478 bytes read in 2 ms (1.2 MiB/s)
## Executing script at 4fc00000
****************
* Mobile NixOS *
****************
Built for pine64-pinephone
gpio: pin 35 (gpio 35) value is 1
gpio: pin 35 (gpio 35) value is 0
gpio: pin 115 (gpio 115) value is 1
gpio: pin 114 (gpio 114) value is 1
gpio: pin 116 (gpio 116) value is 0
=== debug information ===
bootargs=loglevel=4 console=ttyS0,115200 vt.global_cursor_default=0 earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0
kernel_addr_r=0x40080000
fdt_addr_r=0x4FA00000
ramdisk_addr_r=0x4FE00000
=== end of the debug information ===
:: Detected mmc booting
:: Booting from mmc 0
part number mmc 0 boot bootpart
0x3
:: Booting from partition 0x3
33651200 bytes read in 1441 ms (22.3 MiB/s)
38271 bytes read in 5 ms (7.3 MiB/s)
8141877 bytes read in 351 ms (22.1 MiB/s)
bootargs: loglevel=4 console=ttyS0,115200 vt.global_cursor_default=0 earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0
booti 0x40080000 0x4FE00000:7c3c35 0x4FA00000
Moving Image from 0x40080000 to 0x40200000, end=422a0000
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Loading Ramdisk to 4983c000, end 49fffc35 ... OK
Loading Device Tree to 000000004982f000, end 000000004983bfff ... OK
Starting kernel ...
[ 2.027016] musb-sunxi 1c19000.usb: Invalid or missing 'dr_mode' property
[ 2.066880] no UART detected at 0x1
[ 2.071876] MTVAP IRQ 7 busy
[ 2.908528] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723cs_xx_fw.bin not found
[ 3.107107] debugfs: File 'Playback' in directory 'dapm' already present!
[ 3.113923] debugfs: File 'Capture' in directory 'dapm' already present!
***************************************
* Mobile NixOS stage-0 script wrapper *
***************************************
Prepping to launch bootlog...
(Preparing /dev for /dev/pts)
(Preparing /dev/pts to identify console)
Early logging started...
***************************************
* Continuing with stage-0... *
***************************************
I, [1970-01-01T00:05:21.946965//0.0049 #1] INFO -- : ************************
I, [1970-01-01T00:05:21.947331//0.0053 #1] INFO -- : * Mobile NixOS stage-0 *
I, [1970-01-01T00:05:21.947464//0.0054 #1] INFO -- : ************************
I, [1970-01-01T00:05:21.947600//0.0055 #1] INFO -- :
I, [1970-01-01T00:05:21.947734//0.0057 #1] INFO -- : init started ~5.484145s after kernel boot time.
I, [1970-01-01T00:05:21.947851//0.0058 #1] INFO -- : Built for device pine64-pinephone
I, [1970-01-01T00:05:21.947954//0.0059 #1] INFO -- :
I, [1970-01-01T00:05:22.197730//0.2557 #1] INFO -- : Running Tasks::Directory(/etc/udev)...
I, [1970-01-01T00:05:22.403140//0.4611 #1] INFO -- : Running Tasks::Directory(/var/log)...
I, [1970-01-01T00:05:22.596513//0.6544 #1] INFO -- : Running Tasks::Environment...
I, [1970-01-01T00:05:22.799195//0.8571 #1] INFO -- : Running Tasks::LoginEnvironment...
I, [1970-01-01T00:05:23.025606//1.0835 #1] INFO -- : Running Tasks::Symlink(/proc/mounts, /etc/mtab)...
I, [1970-01-01T00:05:23.249121//1.3070 #1] INFO -- : Running Tasks::Target<Environment>...
I, [1970-01-01T00:05:23.482910//1.5408 #1] INFO -- : Running Tasks::Mount(devtmpfs, /dev, {:type=>"devtmpfs", :options=>["nosuid", "strictatime", "mode=755", "size=5%"]})...
I, [1970-01-01T00:05:23.738572//1.7965 #1] INFO -- : Running Tasks::Mount(devpts, /dev/pts, {:type=>"devpts", :options=>["nosuid", "noexec", "mode=620", "ptmxmode=0666", "gid=3"]})...
I, [1970-01-01T00:05:23.978524//2.0364 #1] INFO -- : Running Tasks::Mount(proc, /proc, {:type=>"proc", :options=>["nosuid", "noexec", "nodev"]})...
I, [1970-01-01T00:05:24.214892//2.2728 #1] INFO -- : Running Tasks::Mount(sysfs, /sys, {:type=>"sysfs", :options=>["nosuid", "noexec", "nodev"]})...
I, [1970-01-01T00:05:24.447459//2.5054 #1] INFO -- : Running Tasks::Graphics...
I, [1970-01-01T00:05:24.448897//2.5068 #1] INFO -- : Setting framebuffer mode to: U:720x1440p-0
I, [1970-01-01T00:05:24.717368//2.7753 #1] INFO -- : Running Tasks::Mount(configfs, /sys/kernel/config, {:type=>"configfs", :options=>["nosuid", "noexec", "nodev"]})...
I, [1970-01-01T00:05:24.937723//2.9956 #1] INFO -- : Running Tasks::Mount(tmpfs, /dev/shm, {:type=>"tmpfs", :options=>["nosuid", "nodev", "strictatime", "mode=1777", "size=50%"]})...
I, [1970-01-01T00:05:25.153700//3.2116 #1] INFO -- : Running Tasks::Mount(tmpfs, /run, {:type=>"tmpfs", :options=>["nosuid", "nodev", "strictatime", "mode=755", "size=25%"]})...
I, [1970-01-01T00:05:25.368201//3.4261 #1] INFO -- : Running Tasks::ProgressSocket...
I, [1970-01-01T00:05:25.570327//3.6283 #1] INFO -- : Running Tasks::KickstartBootlogd...
I, [1970-01-01T00:05:25.774726//3.8327 #1] INFO -- : Running Tasks::Mount(ramfs, /run/keys, {:type=>"ramfs", :options=>["nosuid", "nodev", "mode=750"]})...
I, [1970-01-01T00:05:25.989109//4.0470 #1] INFO -- : Running Tasks::Mount(tmpfs, /run/wrappers, {:type=>"tmpfs", :options=>["nodev", "mode=755"]})...
I, [1970-01-01T00:05:26.212737//4.2707 #1] INFO -- : Running Tasks::SetupFFSAlias...
I, [1970-01-01T00:05:26.406434//4.4644 #1] INFO -- : Running Tasks::SetupGadgetMode...
I, [1970-01-01T00:05:26.406786//4.4647 #1] INFO -- : Configuring CONFIGFS USB Gadget.
I, [1970-01-01T00:05:26.613153//4.6711 #1] INFO -- : Running Tasks::Target<Graphics>...
I, [1970-01-01T00:05:26.816238//4.8742 #1] INFO -- : Running Tasks::Splash...
I, [1970-01-01T00:05:27.015756//5.0737 #1] INFO -- : Running Tasks::UDev...
Starting version 247
I, [1970-01-01T00:05:27.879401//5.9373 #1] INFO -- : Running Tasks::AutoResize...
dumpe2fs 1.45.6 (20-Mar-2020)
The framebuffer device was opened successfully.
720x1440, 32bpp
The framebuffer device was mapped to memory successfully.
HAL DPI: 200
HAL DPI: Using Roboto 28
Device axp20x-pek
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
I, [1970-01-01T00:05:27.929651//5.9876 #1] INFO -- : /dev/disk/by-label/NIXOS_SYSTEM: 813694976/813694976 in use.
I, [1970-01-01T00:05:27.929886//5.9878 #1] INFO -- : No need to resize /dev/disk/by-label/NIXOS_SYSTEM...
- is a keyboard
Device 1c21800.lradc
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
- is a keyboard
I, [1970-01-01T00:05:28.108691//6.1666 #1] INFO -- : Running Tasks::Mount(/dev/disk/by-label/NIXOS_SYSTEM, /mnt/, {:type=>"ext4", :options=>[]})...
Device gpio-vibrator
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
Device Goodix Capacitive TouchScreen
- x_min: 0, x_max: 719
- y_min: 0, y_max: 1439
- is a keyboard
- is a touchscreen
Device PinePhone Headset Jack
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
- is a keyboard
[HACK] Creating LVGL::LVContainer as screen. (Switching lv_disp_load_scr!)
[splash] Listening on: ipc:///run/mobile-nixos-init-messages
[splash] Replying on: ipc:///run/mobile-nixos-init-replies
I, [1970-01-01T00:05:28.593108//6.6510 #1] INFO -- : Running Tasks::Target<Devices>...
I, [1970-01-01T00:05:28.713025//6.7709 #1] INFO -- : Running Tasks::Target<SwitchRoot>...
I, [1970-01-01T00:05:28.803798//6.8617 #1] INFO -- : Running Tasks::SwitchRoot...
I, [1970-01-01T00:05:29.896112//7.9540 #1] INFO -- :
I, [1970-01-01T00:05:29.896421//7.9543 #1] INFO -- : ***
I, [1970-01-01T00:05:29.896622//7.9545 #1] INFO -- :
I, [1970-01-01T00:05:29.901658//7.9596 #1] INFO -- : Kexecing into /nix/store/sgam9fa5f80vaczjcpwskg8vid3319pv-nixos-system-nixos-21.03pre-git
I, [1970-01-01T00:05:29.901975//7.9599 #1] INFO -- :
I, [1970-01-01T00:05:29.902176//7.9601 #1] INFO -- : ***
I, [1970-01-01T00:05:29.902370//7.9603 #1] INFO -- :
F, [1970-01-01T00:05:29.909104//7.9670 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.909361//7.9673 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.909553//7.9675 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.909739//7.9677 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.909920//7.9678 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.910101//7.9680 #1] FATAL -- :
F, [1970-01-01T00:05:29.910281//7.9682 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.910461//7.9684 #1] FATAL -- : * Fatal error in Mobile NixOS stage-1 init *
F, [1970-01-01T00:05:29.910641//7.9686 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.910822//7.9687 #1] FATAL -- :
F, [1970-01-01T00:05:29.911003//7.9689 #1] FATAL -- : INIT_EXCEPTION: Uncaught Exception
F, [1970-01-01T00:05:29.911185//7.9691 #1] FATAL -- :
F, [1970-01-01T00:05:29.911362//7.9693 #1] FATAL -- : No such device (Errno::ENODEV)
F, [1970-01-01T00:05:29.911542//7.9695 #1] FATAL -- :
F, [1970-01-01T00:05:29.911765//7.9697 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.911948//7.9699 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.912132//7.9701 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.912311//7.9702 #1] FATAL -- : ********************************************
F, [1970-01-01T00:05:29.912492//7.9704 #1] FATAL -- : ********************************************
The framebuffer device was opened successfully.
720x1440, 32bpp
The framebuffer device was mapped to memory successfully.
HAL DPI: 200
HAL DPI: Using Roboto 28
Device axp20x-pek
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
- is a keyboard
Device 1c21800.lradc
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
- is a keyboard
Device gpio-vibrator
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
Device Goodix Capacitive TouchScreen
- x_min: 0, x_max: 719
- y_min: 0, y_max: 1439
- is a keyboard
- is a touchscreen
Device PinePhone Headset Jack
- x_min: 0, x_max: 0
- y_min: 0, y_max: 0
- is a keyboard
[HACK] Creating LVGL::LVContainer as screen. (Switching lv_disp_load_scr!)
Exiting error applet!
exit(99)
[ 25.006327] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00006300
[ 25.014001] CPU: 2 PID: 1 Comm: loader Tainted: G W 5.10.0 #1-mobile-nixos
[ 25.022167] Hardware name: Pine64 PinePhone (1.2) (DT)
[ 25.027299] Call trace:
[ 25.029760] dump_backtrace+0x0/0x1c8
[ 25.033424] show_stack+0x14/0x58
[ 25.036742] dump_stack+0xcc/0x124
[ 25.040148] panic+0x15c/0x324
[ 25.043205] do_exit+0x96c/0x970
[ 25.046433] do_group_exit+0x40/0xa8
[ 25.050010] __arm64_sys_exit_group+0x14/0x18
[ 25.054369] el0_svc_common.constprop.0+0x68/0x160
[ 25.059157] do_el0_svc+0x20/0x80
[ 25.062475] el0_svc+0x10/0x18
[ 25.065531] el0_sync_handler+0xa8/0xb0
[ 25.069365] el0_sync+0x140/0x180
[ 25.072685] SMP: stopping secondary CPUs
[ 25.076613] Kernel Offset: disabled
[ 25.080100] CPU features: 0x0240002,24002004
[ 25.084364] Memory Limit: none
[ 25.087437] Rebooting in 10 seconds..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment