torv is now known as Guest272
Guest272 has quit [Remote host closed the connection]
torv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
Danct12 has joined #openwrt-devel
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
gch981213 has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
Danct12 has quit [Ping timeout: 480 seconds]
Danct12 has joined #openwrt-devel
rua has quit [Quit: Leaving.]
tomn has quit [Quit: Lost terminal]
tomn has joined #openwrt-devel
Danct12 has quit [Quit: WeeChat 4.0.4]
kwz has joined #openwrt-devel
Guest169 has quit []
Danct12 has joined #openwrt-devel
danitool has joined #openwrt-devel
robimarko has joined #openwrt-devel
xavifr has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
<ynezz> nbd: ok, thanks, so I'll mark this as wanted state then
SpectreDev_01 has joined #openwrt-devel
goliath has joined #openwrt-devel
rua has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
<SpectreDev_01> Ansuel: https://pastebin.com/LafWm9aX
<SpectreDev_01> You got any clue I can't get past this
<PaulFertser> SpectreDev_01: why do you hardcode root= twice and why at all? OpenWrt kernel patches automatically use whatever partition is called "rootfs" as root.
<PaulFertser> SpectreDev_01: basically you have unsuitable explicit root specification and "rootwait" so the kernel just waits for the wrong device to appear.
<SpectreDev_01> It's appended because ubiblock0_0 doesn't boot on mtd24 (rootfs_1/alt_rootfs) iirc
<SpectreDev_01> And rootwait is done by uboot by default
<PaulFertser> SpectreDev_01: whatever the reason is, that's not how OpenWrt normally boots. rootwait is not harmful, don't worry about it. Without rootwait you'd just get kernel panic unable to mount root instead of hanging/waiting.
<PaulFertser> SpectreDev_01: btw, what's in your "rootfs" partition, how do you generated the image for it and flashed it?
<PaulFertser> SpectreDev_01: is it actually a ubi container? Then do not call it rootfs because the kernel can get confused.
<PaulFertser> If it's ubi just call it "ubi".
<PaulFertser> And there should be a volume named "rootfs" inside of it.
<PaulFertser> SpectreDev_01: here's an example from mir3g-v1 how a NAND device is normally handled: https://paste.debian.net/1292120/
<PaulFertser> SpectreDev_01: see, everything is automatic, ubi is auto-attached, rootfs is automatically selected etc.
<SpectreDev_01> PaulFertser: Nah factory is .bin, and flashed it fine via stock gui but sysupgrading doesn't work, rootfs contains rootfs_data iirc, I'll try finding the volumes in rootfs
<PaulFertser> SpectreDev_01: the partition containing ubi shouldn't be called rootfs.
<PaulFertser> SpectreDev_01: OpenWrt on NAND targets usually expects two ubi volumes inside "ubi" partition: rootfs and rootfs_data.
<PaulFertser> SpectreDev_01: nand.sh first removes rootfs_data volume, flashes new squashfs image to rootfs ubi volume, then creates rootfs_data ubifs volume to be used as r/w overlay and unpacks configuration archive.
<SpectreDev_01> PaulFertser: here it is ubiinfo https://pastebin.com/haUwxguH
<PaulFertser> SpectreDev_01: it says name squashfs and not "rootfs" as OpenWrt expects it.
<PaulFertser> And why is the volume so big?
<SpectreDev_01> I really don't know why, that's stock, Linksys has done that
<PaulFertser> SpectreDev_01: you're porting OpenWrt there right?
<PaulFertser> So you need to follow OpenWrt conventions, not whateve Linksys has invented.
<SpectreDev_01> Yeah I'm porting Openwrt
<PaulFertser> So OpenWrt expects no bullshit root= arguments, no ubi.mtd=22,2048 ubi.block=0,0 . It just wants the partition that holds ubi container to be called "ubi" and the volume that has squashfs root filesystem inside of it called "rootfs".
<SpectreDev_01> Ok hmm
xavifr has quit [Ping timeout: 480 seconds]
<tmn505> I'm curious, why is there a need to append root=/dev/ubiblock0_1, bootloader mangles the boot arguments and they seem to clash with whatever You're adding, and I don't think there can be two root. Doesn't ipq40xx recipe (and kernel arguments) work for Your device? Looking at bootlog for Linksys EA8300 on OpenWrt wiki, the bootloader sets similar arguments except ubi.block=.
<SpectreDev_01> Hmm could work never tried
rua has quit [Quit: Leaving.]
xes has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
xavifr has joined #openwrt-devel
xavifr has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
goliath has joined #openwrt-devel
SpectreDev_01 has quit [Quit: Connection closed for inactivity]
goliath has quit [Quit: SIGSEGV]
Tapper has quit [Quit: Tapper]
robimarko has quit [Remote host closed the connection]
goliath has joined #openwrt-devel
Danct12 has quit [Read error: Connection reset by peer]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel