PineBook Pro update and upgrade to 5.18.12: unable to boot
slarm64This forum is for the discussion of slarm64.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
no, there were no new patches, the question was more whether the kernel was vanilla.
that is, at the moment the new image is launched without problems, but the kernel itself does not want to work in a hard system?
Okay, so I booted from the micro-SD card, and chrooted into my installed environment.
Then I upgraded the kernel, and all related packages, so I'm currently working with 5.18.14.
Then I updated the installed packages on the installed system, so the code running there should be the latest version available.
The problem is that after init is started, it just seems to hang there. Also, the screen is still blank. All I'm seeing during boot with respect to the installed system is through the serial console.
The problem is that after init is started, it just seems to hang there. Also, the screen is still blank. All I'm seeing during boot with respect to the installed system is through the serial console.
that's the point that the kernel is workable, the difference is only in the location and type of fs. I think the system on the map will boot even without an initrd.
that's the point that the kernel is workable, the difference is only in the location and type of fs. I think the system on the map will boot even without an initrd.
What do you mean by map? The internal storage/emmc?
Yes.
Аnd changes were made to fstab the same as uEnv.txt?
What do you mean exactly?
The system has been running for more than half a year now.
The fstab should be unchanged, from its previous state, and should contain f2fs for the root fs entry.
But I will double check it tomorrow to be on the safe side.
What do you mean exactly?
The system has been running for more than half a year now.
The fstab should be unchanged, from its previous state, and should contain f2fs for the root fs entry.
But I will double check it tomorrow to be on the safe side.
As far as I understand, when switching to the 5.18.14 kernel, we changed rootdev in uEnv.txt, the same section should be in fstab.
part of uEnv.txt as only that part was missing. The rest seems to be just fine.
But even after doing this change, the screen will stay off and the boot process will stop.
I will now try the extraargs parameter you suggested.
Last edited by wowbaggerHU; 07-29-2022 at 05:39 AM.
While I see mmc0 (mmc1, as I understand it, this is a memory card that is not inserted) and nvme0n1p1, so the root partition cannot be mmcblk2p2, it must be mmcblk0p2 and is registered in fstab and uEnv.txt
This arrangement has been like this until now, and apparently is so even now as I am getting this with your latest SD card image.
Plus if it would be mmcblk0pX, then the root partition would not mount even in ro mode, which would result in a kernel panic.
Last edited by wowbaggerHU; 07-29-2022 at 07:17 AM.
U-Boot TPL 2020.10-rk3399 (Dec 10 2020 - 15:55:26)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2020.10-rk3399 (Dec 10 2020 - 15:55:26 +0100)
Trying to boot from MMC2
U-Boot 2020.10-rk3399 (Dec 10 2020 - 15:57:06 +0100)
SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 Pinebook Pro
DRAM: 3.9 GiB
PMIC: RK808
MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
In: serial
Out: serial
Err: serial
Model: Pine64 Pinebook Pro
Net: No ethernet found.
starting USB...
Bus usb@fe380000: failed to get usb phy
Port not available.
Bus usb@fe3a0000: failed to get usb phy
Port not available.
Bus usb@fe3c0000: failed to get usb phy
Port not available.
Bus usb@fe3e0000: failed to get usb phy
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2640 bytes read in 12 ms (214.8 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 0
Failed to load '/boot/uEnv.txt'
Failed to load '/boot/dtb/rockchip/rk3399-pinebook-pro.dtb'
Failed to load '/boot/Image'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Failed to load '/boot/dtb/rockchip/overlay/-fixup.scr'
Failed to load '/boot/uInitrd'
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
Device 0: Vendor: 0x15b7 Rev: 211070WD Prod: 200125803728
Type: Hard Disk
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
... is now current device
** Unrecognized filesystem type **
starting USB...
Bus usb@fe380000: failed to get usb phy
Port not available.
Bus usb@fe3a0000: failed to get usb phy
Port not available.
Bus usb@fe3c0000: failed to get usb phy
Port not available.
Bus usb@fe3e0000: failed to get usb phy
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
USB is stopped. Please issue 'usb start' first.
starting USB...
Bus usb@fe380000: failed to get usb phy
Port not available.
Bus usb@fe3a0000: failed to get usb phy
Port not available.
Bus usb@fe3c0000: failed to get usb phy
Port not available.
Bus usb@fe3e0000: failed to get usb phy
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3399-pinebook-pro-rk3399
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3399
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
Bus usb@fe380000: failed to get usb phy
Port not available.
Bus usb@fe3a0000: failed to get usb phy
Port not available.
Bus usb@fe3c0000: failed to get usb phy
Port not available.
Bus usb@fe3e0000: failed to get usb phy
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
Bus dwc3: Failed to get PHY0 for dwc3
Port not available.
No ethernet found.
No ethernet found.
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)
Is there perhaps something that I have to update in these files?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.