all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Staging branch [substitute availability armhf-linux]
Date: Fri, 15 Jan 2021 18:15:54 +0100	[thread overview]
Message-ID: <CAEwRq=qa8+R5wYRQ=drgAA6Vz08jzve2cJC-VULquE9vzH0k4g@mail.gmail.com> (raw)
In-Reply-To: <87h7nio79d.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2409 bytes --]

Hello,

On Fri, Jan 15, 2021 at 10:54 AM Mathieu Othacehe <othacehe@gnu.org> wrote:
> It seems that Caliph Nomble succeeded to build a Pinebook Pro image and
> booted it, without graphics, after a few fixes:
> https://issues.guix.gnu.org/45584.
>
> You may want to try again :).

DONE, it's a bit better, this time initrd, kernel & dtb loaded properly.

But serial output stopped after "Starting kernel ..." which is probably
because of mismatched serial port speed, but I tried to relaunch screen
with 57600, 115200 and still go no output. [complete uboot log attached]

LCD screen stays black which is probably normal.

The image was built like the following:

# ./pre-inst-env guix describe
Git checkout:
  repository: /home/vince/dev/repo/guix
  branch: master
  commit: c03875b0361f114634caeb54935fe37a9b7b05af
# echo "(use-modules (gnu system images pinebook-pro))
pinebook-pro-barebones-os" > /tmp/os.scm
# ./pre-inst-env guix system disk-image -t pinebook-pro-raw /tmp/os.scm
[...]
/gnu/store/5fj3aha8jsyji9mpqzf2krakl08r9zlw-disk-image

Next I'll try the hints from:
https://issues.guix.gnu.org/45584

> >> There is almost no armhf hardware that is suitable
> >> for a build-from-source distro in terms of performance, thermal design
> >> and suitable storage (SD cards will not last for unless you pay a huge
> >> amount for the absolute highest quality). Binary distros like Trisquel
> >> are a much better option for armhf.
> >
> > The cross buildability *should* be kind of a solution for this.
>
> Yes we could always decide to stop supporting native ARMv7 substitutes
> and only focus on the cross-building to provide ready to use image for
> this architecture.

Isn't there a way to reconcile the 2 ? At least theoretically cross- or native-
compilation should give identical output, though I dunno how far that
is from reality (probably not good, or we would be doing just that)

> >> All that is not a reason to not support armhf, but if nobody is using
> >> it, then we should officially deprecate it, and not leave it in this
> >> in-between state.
> >
> > I'm not using it because I can't make it work.
>
> Don't hesitate to report the issues you encountered!

I've done it a few times already, for armhf, arm64, powerpc64, mipsel.

And I'll (re-)try anything if I'm hinted as what to try next.

The main problem from my PoV is the scatteredness of the infos.

Tchuss

-- 
Vincent Legoll

[-- Attachment #2: pbp-ubootlog.txt --]
[-- Type: text/plain, Size: 10007 bytes --]

DDR Version 1.20 20190314
In
channel 0
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 400MHz 0,1
channel 0
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
Channel 0: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 251
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=119276MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30528MB
FwPartOffset=2000 , 0
StorageInit ok = 191888
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3380ec0 signature is wrong
recovery gpt...
GPT 0x3380ec0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
LoadTrust Addr:0x4400
LoadTrust Addr:0x4800
LoadTrust Addr:0x4c00
LoadTrust Addr:0x5000
LoadTrust Addr:0x5400
LoadTrust Addr:0x5800
LoadTrust Addr:0x5c00
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3380ec0 signature is wrong
recovery gpt...
GPT 0x3380ec0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xe5970
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):22b599a
NOTICE:  BL31: Built : 11:03:32, Jul 10 2019
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1181): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9
fdtdec_get_addr_size_fixed: reg: addr=ff770000, size=10000
fdtdec_get_addr_size_fixed: reg: addr=ff320000, size=1000


U-Boot 2017.09-04112-gb8e0774-dirty (Feb 07 2020 - 12:45:13 -0500)

Model: Pine64 RK3399 Pinebook Pro
PreSerial: 2
DRAM:  3.9 GiB
Sysmem: init
Relocation Offset: f5be7000, fdt: f3dd2238
I2c0 speed: 400000Hz
PMIC:  RK808
vdd_center 900000 uV
vdd_log init 900000 uV
rk_board_init PWM2 pinctrl init fail!
rk_board_init: vcc3v0_sdio cannot set regulator value -38
vdd_center 900000 uV
                DCDC_REG1@     vdd_center:  750000uV <-> 1400000uV, set  900000uV, enabling | suspend     -61uV, disabled
                DCDC_REG4@        vcc_1v8: 1800000uV <-> 1800000uV, set 1800000uV, enabling | suspend 1800000uV, enabling
                 LDO_REG1@     vcc1v8_dvp: 1800000uV <-> 1800000uV, set 1800000uV, enabling | suspend 1800000uV, enabling
                 LDO_REG4@         vcc_sd: 3300000uV <-> 3300000uV, set 3300000uV, enabling | suspend 3300000uV, enabling
                 LDO_REG5@  vcca3v0_codec: 3000000uV <-> 3000000uV, set 3000000uV, enabling | suspend 3000000uV, enabling
                 LDO_REG7@  vcca1v8_codec: 1800000uV <-> 1800000uV, set 1800000uV, enabling | suspend 1800000uV, enabling
                 LDO_REG8@        vcc_3v0: 3000000uV <-> 3000000uV, set 3000000uV, enabling | suspend 3000000uV, enabling
              SWITCH_REG2@      vcc3v3_s0:     -61uV <->     -61uV, set       0uV, enabling | suspend     -61uV, disabled
                   dc-12v@         dc_12v: 12000000uV <-> 12000000uV, set 12000000uV, enabling | suspend     -61uV, enabling (ret: -38)
                  vcc-sys@        vcc_sys: 5000000uV <-> 5000000uV, set 5000000uV, enabling | suspend     -61uV, enabling (ret: -38)
               vcc3v3-sys@     vcc3v3_sys: 3300000uV <-> 3300000uV, set 3300000uV, enabling | suspend     -61uV, enabling (ret: -38)
        vcc-phy-regulator@        vcc_phy:     -61uV <->     -61uV, set     -61uV, enabling | suspend     -61uV, enabling
            led-regulator@  led_regulator:     -61uV <->     -61uV, set     -61uV, enabling | suspend     -61uV, enabling
           vcc5v0-host-en@    vcc5v0_host: 5000000uV <-> 5000000uV, set 5000000uV, enabling | suspend     -61uV, enabling (ret: -38)
vcc5v0-usb3-host-regulator@vcc5v0_usb3_host:     -61uV <->     -61uV, set     -61uV, enabling | suspend     -61uV, enabling
         vcc5v0-typec0-en@  vcc5v0_typec0:     -61uV <->     -61uV, set     -61uV, enabling | suspend     -61uV, enabling
    vcc3v3-pcie-regulator@    vcc3v3_pcie: 3300000uV <-> 3300000uV, set 3300000uV, disabled | suspend     -61uV, enabling
              vcc1v8-sdio@    vcc1v8_sdio: 1800000uV <-> 1800000uV, set 1800000uV, enabling | suspend     -61uV, enabling (ret: -38)
              vcc3v0-sdio@    vcc3v0_sdio: 3000000uV <-> 3000000uV, set 3000000uV, enabling | suspend     -61uV, enabling ; init 3000000uV (ret: -38)
vdd_log init 900000 uV
                  vdd_log@        vdd_log:  800000uV <-> 1400000uV, set  900000uV, enabling | suspend     -61uV, enabling ; init  900000uV
MMC:   dwmmc@fe310000: 2, sdhci@fe330000: 0, dwmmc@fe320000: 1
Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Pine64 RK3399 Pinebook Pro
RKPARM: Invalid parameter part table
Bootdev(atags): mmc 0
PartType: DOS
rockchip_get_boot_mode: Could not found misc partition
boot mode: None
init_resource_list: failed to get resource part, ret=-1
Can't find file:logo.bmp
failed to display uboot logo
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 800000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
do_boot_rockchip: Could not find mmcsda2 part
Checking for mmc dev 1...
RKPARM: Invalid parameter part table
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1 for bootable partitions...
Scanning mmc 1:1 for extlinux or boot scripts...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
758 bytes read in 14 ms (52.7 KiB/s)
Ignoring unknown command: UI
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice: help
hgvhgelp not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice:
 not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice: help
help not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice: edit
edit not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice:
 not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice:
 not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice:
 not found
GNU Guix Boot Options
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Enter choice: 1
1:      GNU with Linux-Libre-Arm64-Generic 5.10.7
Retrieving file: /gnu/store/i35q3qw8plpn3b15f94g0iwqsrzcxj9q-raw-initrd/initrd.cpio.gz
13074541 bytes read in 963 ms (12.9 MiB/s)
Retrieving file: /gnu/store/rnjk2q8vf6lpfxsm2svp6k06c7aww9kn-linux-libre-arm64-generic-5.10.7/Image
31760896 bytes read in 7494 ms (4 MiB/s)
append: --root=38af4c98-52f4-b4e1-b285-334638af4c98 --system=/gnu/store/8da8n1qsdzspbhahp1jyyvkjvf33nza9-system --load=/gnu/store/8da8n1qsdzspbhahp1jyyvkjvf33nza9-system/boot modprobe.blacklist=usbmouse,usbkbd quiet
Retrieving file: /gnu/store/rnjk2q8vf6lpfxsm2svp6k06c7aww9kn-linux-libre-arm64-generic-5.10.7/lib/dtbs/rk3399-pinebook-pro.dtb
** File not found /gnu/store/rnjk2q8vf6lpfxsm2svp6k06c7aww9kn-linux-libre-arm64-generic-5.10.7/lib/dtbs/rk3399-pinebook-pro.dtb **
Searching rockchip folder...
Retrieving file: /gnu/store/rnjk2q8vf6lpfxsm2svp6k06c7aww9kn-linux-libre-arm64-generic-5.10.7/lib/dtbs/rockchip/rk3399-pinebook-pro.dtb
60504 bytes read in 677 ms (86.9 KiB/s)
## Flattened Device Tree blob at 08300000
   Booting using the fdt blob at 0x8300000
   Loading Ramdisk to f3156000, end f3dce06d ... OK
   Loading Device Tree to 00000000f3144000, end 00000000f3155c57 ... OK
Adding bank: 0x00200000 - 0xf8000000 (size: 0xf7e00000)
Total: 368418.864 ms

Starting kernel ...


  reply	other threads:[~2021-01-15 17:16 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 17:58 Staging branch Leo Famulari
2020-12-06 19:11 ` Ryan Prior
2020-12-06 20:20   ` Leo Famulari
2020-12-06 20:58     ` Leo Famulari
2020-12-13 20:00 ` Leo Famulari
2020-12-13 20:02   ` John Soo
2020-12-13 20:56     ` Leo Famulari
2020-12-13 21:33       ` Christopher Baines
2020-12-13 21:44       ` John Soo
2020-12-13 21:48         ` Leo Famulari
2020-12-13 21:50           ` John Soo
2020-12-13 22:10             ` Leo Famulari
2020-12-13 22:12               ` John Soo
2020-12-13 23:01                 ` Leo Famulari
2020-12-13 23:06                   ` John Soo
2020-12-23  5:27 ` Leo Famulari
2020-12-23 22:46   ` Leo Famulari
2020-12-29  7:37     ` Efraim Flashner
2021-01-05  1:37       ` Staging branch [aarch64 failures] Leo Famulari
2021-01-05 12:01         ` Efraim Flashner
2021-01-05 20:17           ` Efraim Flashner
2021-01-05 23:07           ` Leo Famulari
2020-12-29  8:39     ` Staging branch Efraim Flashner
2020-12-29 14:00       ` Efraim Flashner
2020-12-29 19:05         ` Leo Famulari
2020-12-30  8:57           ` Efraim Flashner
2020-12-30 20:24             ` Leo Famulari
2020-12-30 20:50               ` Efraim Flashner
2021-01-02 16:59                 ` John Soo
2021-01-02 18:37                   ` Leo Famulari
2021-01-03  4:38                     ` John Soo
2021-01-03 21:33                       ` Leo Famulari
2021-01-02 19:01                 ` Reconfigured on staging Efraim Flashner
2021-01-02 19:07                   ` Efraim Flashner
2021-01-08 23:25 ` Staging branch [i686] Leo Famulari
2021-01-13 22:30 ` Staging branch [substitute availability] Leo Famulari
2021-01-13 23:31   ` Staging branch [substitute availability x86_64-linux] Leo Famulari
2021-01-13 23:33   ` Staging branch [substitute availability i686-linux] Leo Famulari
2021-01-14  0:22     ` Leo Famulari
2021-01-21 21:03       ` Leo Famulari
2021-01-14 22:37     ` Ricardo Wurmus
2021-01-14 23:16       ` Leo Famulari
2021-01-13 23:36   ` Staging branch [substitute availability armhf-linux] Leo Famulari
2021-01-14  8:44     ` Mathieu Othacehe
2021-01-14 12:22       ` zimoun
2021-01-14 22:18       ` Ludovic Courtès
2021-01-15  9:44         ` Mathieu Othacehe
2021-01-14 23:07       ` Leo Famulari
2021-01-15  8:27         ` Vincent Legoll
2021-01-15  9:54           ` Mathieu Othacehe
2021-01-15 17:15             ` Vincent Legoll [this message]
2021-01-15 20:07           ` Leo Famulari
2021-01-16 10:08             ` Vincent Legoll
2021-01-17  9:35               ` Mathieu Othacehe
2021-01-17 10:00                 ` Vincent Legoll
2021-01-17 10:09                   ` Vincent Legoll
2021-01-17 10:17                   ` Mathieu Othacehe
2021-01-17 10:56                     ` Vincent Legoll
2021-01-17 11:01                       ` Mathieu Othacehe
2021-01-17 16:23                         ` Vincent Legoll
2021-01-19 22:36                           ` calnomble--- via Development of GNU Guix and the GNU System distribution.
2021-01-19 23:51                             ` calnomble--- via Development of GNU Guix and the GNU System distribution.
2021-01-13 23:38   ` Staging branch [substitute availability aarch64-linux] Leo Famulari
2021-01-14  2:42     ` John Soo
2021-01-17 19:50     ` Efraim Flashner
2021-01-18 10:19       ` Efraim Flashner
2021-01-18 18:10         ` Leo Famulari
2021-01-14  8:39   ` Staging branch [substitute availability] Mathieu Othacehe
2021-01-14 10:04     ` Jonathan Brielmaier
2021-01-14 13:49       ` Mathieu Othacehe
2021-01-14 10:24     ` Tobias Geerinckx-Rice
2021-01-14 10:51       ` Mathieu Othacehe
2021-01-14 20:19         ` Tobias Geerinckx-Rice
2021-01-14 22:29     ` Ludovic Courtès
2021-01-15 17:55     ` Christopher Baines
2021-01-22 20:46   ` Leo Famulari
2021-01-23 11:58     ` Staging branch [problem with node-10.22] Jonathan Brielmaier
2021-01-23 20:00       ` Leo Famulari
2021-01-23 20:01       ` Leo Famulari
2021-01-23 21:29       ` Mark H Weaver
2021-01-23 21:47         ` Leo Famulari
2021-01-24 17:11     ` Staging branch [substitute availability] Ekaitz Zarraga
2021-01-26 23:51     ` Leo Famulari
2021-01-27  0:04       ` Staging branch [kwayland test failure] Leo Famulari
2021-01-28  9:52       ` Staging branch [substitute availability] Mathieu Othacehe
2021-01-28 13:47         ` Ludovic Courtès
2021-01-29  8:17           ` Mathieu Othacehe
2021-02-09 22:01             ` Ricardo Wurmus
2021-02-10 10:06               ` Mathieu Othacehe
2021-02-10 12:21                 ` Ricardo Wurmus
2021-02-10 13:06                   ` Mathieu Othacehe
2021-01-28 18:25       ` Efraim Flashner
2021-02-01 21:50 ` Staging branch Leo Famulari
2021-02-02 18:09   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=qa8+R5wYRQ=drgAA6Vz08jzve2cJC-VULquE9vzH0k4g@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=othacehe@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.