stikonas_ has quit [Remote host closed the connection]
chewitt has joined #linux-rockchip
vstehle has quit [Ping timeout: 246 seconds]
chewitt has quit [Quit: Zzz..]
ifbizo has joined #linux-rockchip
chewitt has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
drrty has quit [Ping timeout: 258 seconds]
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
camus has quit [Ping timeout: 246 seconds]
vstehle has joined #linux-rockchip
vicencb has joined #linux-rockchip
wwilly has joined #linux-rockchip
amstan_ has joined #linux-rockchip
amstan has quit [Ping timeout: 268 seconds]
vagrantc has quit [Quit: leaving]
ldevulder_ is now known as ldevulder
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #linux-rockchip
poulecaca has quit [Ping timeout: 245 seconds]
stikonas has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
amstan_ has quit [Ping timeout: 268 seconds]
amstan has joined #linux-rockchip
wwilly_ has joined #linux-rockchip
wwilly has quit [Ping timeout: 252 seconds]
<inode>
i've compiled linux-5.1 for an RK3229 target using a stripped down version of the multi_v7_defconfig (including CONFIG_MMC_DW=y, CONFIG_MMC_DW_ROCKCHIP=y and CONFIG_EFI_PARTITION=y), which is booted from eMMC using the "rk3229-evb.dts" modified to enable UART2's RX. the kernel detects the eMMC, but only recognizes "mmcblk0", "mmcblk0boot0", "mmcblk0boot1", and "mmcblk0rpmb" but not
<inode>
mmcblk0p{0,1,2,3,4,...} that the shipped android kernel acknowledges
<inode>
yes i've got it set: CONFIG_MTD_CMDLINE_PARTS=y
<inode>
i didn't have CONFIG_EFI=y set, so i'm giving that a try at the moment
<inode>
no luck there either
<sphalerite>
inode: how is it partitioned?
<sphalerite>
inode: if it's GPT, you'll want CONFIG_EFI_PARTITION, if it's MBR you'll want CONFIG_MSDOS_PARTITION
<inode>
i've been under the assumption that it is GPT and used CONFIG_EFI_PARTITION, but i'll check
<sphalerite>
inode: you could also try `busybox fdisk -l` to see if busybox can find a partition table
nsaenz has quit [Remote host closed the connection]
<inode>
unfortunately this build of busybox doesn't contain that applet, so i'm restoring the android kernel and a somewhat usable rootfs atm to hopefully check mmcblk0 with fdisk and sgdisk
<sphalerite>
ah ok
nsaenz has joined #linux-rockchip
afaerber has joined #linux-rockchip
<inode>
fdisk -l, and sgdisk -p display empty partition tables
<DuClare>
cat /proc/cmdline?
<DuClare>
Did you modify the (u-)boot script in order to boot the mainline kernel?[
<inode>
i modified the CMDLINE in the parameters file (via rkflashtool P)
<inode>
i haven't touched mtdparts=... though
<DuClare>
I think mtdparts is wrong
<DuClare>
Specifically, rk29xxnand
<inode>
ok, it is what shipped with the device
<DuClare>
Yeah that's an identifier you'd find in the vendor fork
<inode>
thanks
<DuClare>
I never actually used mtdparts myself but I think you can just replace rk29xxnand with 0
<DuClare>
(Or just switch over to gpt partitions or whatever)
<DuClare>
Or not, I'm actullay not sure how the ids work
<mmind00>
DuClare: if you get mmcblk0bootx though it's not nand but a real emmc
<inode>
looks like drivers/mtd/cmdlineparts.c might have the answers about the mtd-id
<mmind00>
inode: from what I remember Rockchip uses their own partition system (similar how they do nand partitions) on emmc devices
<mmind00>
but I don't believe that is part of mainline
<sphalerite>
using amarula's u-boot with u-boot SPL on my nanopi m4, cold boots work fine, but reboots don't — the SPL doesn't seem to be able to read from the SD card: mmc_load_image_raw_sector: mmc block read error
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
JohnDoe_71Rus has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
<inode>
thanks for the pointers
MoeIcenowy has joined #linux-rockchip
<inode>
mmind00: as a test, i've just ripped block/partitions/rk.{c,h} from develop-4.4 and included a pointer to rkpart_partition() in block/partitions/check.c's check_part array, amended the directory's Makefile and Kconfig for CONFIG_RK_PARTITION
MoeIcenowy has quit [Client Quit]
MoeIcenowy has joined #linux-rockchip
<inode>
and it appears that all of the partitions are detected
MoeIcenowy has quit [Client Quit]
MoeIcenowy has joined #linux-rockchip
MoeIcenowy has quit [Client Quit]
MoeIcenowy has joined #linux-rockchip
aalm has quit [Ping timeout: 255 seconds]
aalm has joined #linux-rockchip
vagrantc has joined #linux-rockchip
drrty has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
gnufan_home has joined #linux-rockchip
fireglow has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
vicencb has joined #linux-rockchip
fireglow has joined #linux-rockchip
fireglow has quit [Quit: Gnothi seauton; Veritas vos liberabit]