Dual boot options for ROCK64?
#11
(01-15-2018, 01:51 PM)Luke Wrote: ayufan just got SPI working last week - this holds the promise of multibooting different OS'. I wouldn't expect this anytime super-soon, but now at least the possibility is real.
Well, that is good news. Even if I have to wait a bit. Thanks.
(01-15-2018, 01:51 PM)maal Wrote: What works for me:


/boot/extlinux/extlinux.conf
Code:
TIMEOUT 30
DEFAULT kernel-4.14

MENU TITLE Rock64 boot options


LABEL kernel-4.14
   kernel /boot/Image-4.14
   fdt /boot/rk3328-rock64.dtb-4.14
   append earlycon=uart8250,mmio32,0xff130000 rw root=/dev/mmcblk0p1 rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#}

LABEL kernel-4.15-rc6
   kernel /boot/Image-4.15-rc6
   fdt /boot/rk3328-rock64.dtb-4.15-rc6
   append earlycon=uart8250,mmio32,0xff130000 rw root=/dev/mmcblk0p1 rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#}

LABEL kernel-4.4
   kernel /boot/Image
   initrd /boot/initrd.img
   fdt /boot/dtb
   append earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#}


Boot log:
Code:
DDR version 1.06 20170424
In
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: 2017-05-18, version: 2.43
ChipType = 0x11, 127
emmc reinit
emmc reinit
SdmmcInit=2 20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15084MB
FwPartOffset=2000 , 0
StorageInit ok = 50220
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x7bd90
RunBL31 0x10000
NOTICE:  BL31: v1.4(release):v1.4-218-g3b6ceeff
NOTICE:  BL31: Built : 11:11:11, Sep 30 2017
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2017.09-00396-g6ca43a58db (Sep 30 2017 - 11:11:57 +0200)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
*** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
891 bytes read in 73 ms (11.7 KiB/s)
Rock64 boot options
1:      kernel-4.14
2:      kernel-4.15-rc6
3:      kernel-4.4
Enter choice: 2
2:      kernel-4.15-rc6
Retrieving file: /boot/Image-4.15-rc6
13763072 bytes read in 1312 ms (10 MiB/s)
append: earlycon=uart8250,mmio32,0xff130000 rw root=/dev/mmcblk0p1 rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr= eth1addr= serial=
Retrieving file: /boot/rk3328-rock64.dtb-4.15-rc6
30605 bytes read in 101 ms (295.9 KiB/s)
## Flattened Device Tree blob at 01f00000
  Booting using the fdt blob at 0x1f00000
  Loading Device Tree to 00000000fcf27000, end 00000000fcf3178c ... OK

Starting kernel ...
Not really sure what you would like me to do with this, but I think the first bit of code is the OSes/kernels you can chose from on boot? If that's the case, neat! As mentioned earlier, if you could make a how-to, that would be lovely Smile
  Reply


Messages In This Thread
Dual boot options for ROCK64? - by Mrfixit2001 - 11-14-2017, 12:57 PM
RE: Dual boot options for ROCK64? - by Tony32 - 11-22-2017, 05:46 AM
RE: Dual boot options for ROCK64? - by freebsd - 11-23-2017, 01:10 PM
RE: Dual boot options for ROCK64? - by dkryder - 11-24-2017, 04:52 AM
RE: Dual boot options for ROCK64? - by Tony32 - 01-15-2018, 12:31 PM
RE: Dual boot options for ROCK64? - by dudemo - 01-15-2018, 01:33 PM
RE: Dual boot options for ROCK64? - by maal - 01-15-2018, 01:51 PM
RE: Dual boot options for ROCK64? - by Luke - 01-15-2018, 01:51 PM
RE: Dual boot options for ROCK64? - by Luke - 01-15-2018, 03:23 PM
RE: Dual boot options for ROCK64? - by maal - 01-15-2018, 03:45 PM
RE: Dual boot options for ROCK64? - by Luke - 01-16-2018, 04:11 AM
RE: Dual boot options for ROCK64? - by maal - 01-16-2018, 08:55 AM
RE: Dual boot options for ROCK64? - by Luke - 01-16-2018, 10:06 AM
RE: Dual boot options for ROCK64? - by maal - 01-16-2018, 11:47 AM
RE: Dual boot options for ROCK64? - by Luke - 01-16-2018, 02:04 PM
RE: Dual boot options for ROCK64? - by Tony32 - 01-16-2018, 01:12 AM
RE: Dual boot options for ROCK64? - by ayufan - 01-16-2018, 02:26 PM
RE: Dual boot options for ROCK64? - by easyfab - 01-20-2018, 10:54 AM
RE: Dual boot options for ROCK64? - by a1w.ca - 01-21-2018, 10:47 PM
RE: Dual boot options for ROCK64? - by easyfab - 01-22-2018, 01:53 AM
RE: Dual boot options for ROCK64? - by a1w.ca - 01-22-2018, 02:00 AM
RE: Dual boot options for ROCK64? - by Luke - 01-22-2018, 04:42 AM
RE: Dual boot options for ROCK64? - by a1w.ca - 01-22-2018, 04:55 AM
RE: Dual boot options for ROCK64? - by Luke - 01-22-2018, 06:11 AM
RE: Dual boot options for ROCK64? - by a1w.ca - 01-22-2018, 08:10 AM
RE: Dual boot options for ROCK64? - by Luke - 01-22-2018, 09:17 AM
RE: Dual boot options for ROCK64? - by Danielsan - 04-20-2018, 01:47 PM
RE: Dual boot options for ROCK64? - by S3phi40T - 05-01-2018, 03:58 PM
RE: Dual boot options for ROCK64? - by pfeerick - 05-01-2018, 05:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 188 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,415 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 370 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 674 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 656 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,729 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 193,235 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 627 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 677 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  Disabling last mount time check on boot acwest 0 657 03-03-2023, 09:24 PM
Last Post: acwest

Forum Jump:


Users browsing this thread: 1 Guest(s)