<bashintosh>
mmmh.. got linux rfs on nand (/dev/mmcblk0p14) but the kernel (also on nand) seems to ignore the parameter file pointing at mmcblk0p14 for root - keeps on wanting to find the filesystem on mmcblk0p1 <_<
<bashintosh>
mmcblk0p14 is ext4 and mountable (via miniroot)
hipboi has joined #linux-rockchip
<naobsd>
bashintosh: kernel doesn't read parameter. loader read it and passes it to kernel
<naobsd>
bashintosh: are you really sure cmdline in parameter and /proc/cmdline (or cmdline in dmesg) are different?
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-rockchip
<bashintosh>
naobsd: mmh I see - I will check that first then!
<bashintosh>
cmdline in dmesg is visible just after the kernel starts right? If so cmdline there == to cmdline in parameter
<bashintosh>
to be honest I have root=/dev/mmcblk0p14 (where the rfs is) but the actual partition offset (linuxroot) might not be right - how can I find the exact offset of a nand partition?
<bashintosh>
I know the block size of such partition..
cnxsoft has joined #linux-rockchip
Ueno_Otoko has joined #linux-rockchip
c0d3z3r0 has quit [Ping timeout: 250 seconds]
c0d3z3r0 has joined #linux-rockchip
hipboi has quit [Quit: This computer has gone to sleep]
cp-- has joined #linux-rockchip
ckeepax has quit [Ping timeout: 240 seconds]
ckeepax has joined #linux-rockchip
<steev>
bashintosh: it's possible you're missing an option
<steev>
iirc, most kernels default to 8 partitions max, and you have to enable something to show more than that
<bashintosh>
steev: I thought about that and ended up modifying the partition layout so that the rfs lives in mmcblk0p3 - interesting enough the kernel during boot can see all partitions defined in the parameter (resource, kernel, boot, linuxroot) and their proper size. It hits the same error where it logs "rknand init:" next line "UDF-fs: warning (device mmcblk0p1): udf_fill_super: No partition found (1)"
<bashintosh>
tried different options in the parameter (root=<args>) but the kernel still looks for mmcblk0p1 (which actually contains the kernel if mmcblk0p0 is resource)
<bashintosh>
tried different bootloaders too... Same result. Curious really..
<bashintosh>
the very same kernel boots fine when flashed on SD (with rfs also on SD)
<bashintosh>
I am missing CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER in my config - although the kernel boot prints exactly what the parameter contains. Mmmmh..
<bashintosh>
Nah that's not it - the DTS default bootargs are "bootargs = "androidboot.console=ttyFIQ0 initrd=0x02000000,0x00800000";" so the kernel is definitely getting more parameters than just that, including console parameters etc.
<naobsd>
RK u-boot can modify dtb before passing it to kernel
<naobsd>
if you're using initramfs as 1st root fs and initramfs does switch_root to actual root fs, then you need to check initramfs too
levd has joined #linux-rockchip
hipboi has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 248 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd1 is now known as levd
paulk-collins has quit [Ping timeout: 240 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
cnxsoft1 has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 265 seconds]
cnxsoft1 is now known as cnxsoft
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
mcan has joined #linux-rockchip
mcan has quit [Changing host]
sunilmohan has quit [Read error: Connection reset by peer]
sunilmohan has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 248 seconds]
levd1 is now known as levd
levd has quit [Remote host closed the connection]
Astralix has joined #linux-rockchip
Ava has joined #linux-rockchip
<Ava>
Hi all!
Ava is now known as Guest15554
nnnn20430 has quit [Ping timeout: 264 seconds]
Guest15554 has quit [Quit: Leaving]
wadim_ has joined #linux-rockchip
Avagetto has joined #linux-rockchip
<Avagetto>
Hello again, to all. Anybody have experience in launching ap6xxx wifi module with chromium kernel 3.14?
dlezcano has quit [Ping timeout: 244 seconds]
matthias_bgg has joined #linux-rockchip
cp-- has quit [Quit: Disappears in a puff of smoke]
dlezcano has joined #linux-rockchip
nnnn20430 has joined #linux-rockchip
cp-- has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 248 seconds]
libv has joined #linux-rockchip
libv_ has quit [Ping timeout: 255 seconds]
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-rockchip
cp-- has quit [Quit: Disappears in a puff of smoke]
hipboi has quit [Quit: This computer has gone to sleep]
cosm has quit [Quit: Leaving]
paulk-collins has joined #linux-rockchip
pietrushnic has joined #linux-rockchip
libv has quit [Ping timeout: 248 seconds]
libv has joined #linux-rockchip
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-rockchip
ssvb has quit [Remote host closed the connection]
hipboi has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 240 seconds]
libv_ is now known as libv
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
<naobsd>
hmm some arc emac patches are merged in linux-next