<bluecmd[m]>
Anyone have any ideas how to solve this issue: On the vEdge the root disk is usually /dev/sda2 - but it can be any sdX as it is quite common that if a user has another USB disk inserted that other disk will be sda. Inside OpenWrt I can find the correct device name by looking at /sys/bus/usb/devices/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0/block - but how can I make the kernel understand to boot this? Right now we hardcode
<bluecmd[m]>
root=/dev/sda2 in our images which is not good.
<bluecmd[m]>
In other distributions I would have added logic to find the root partition inside the initramfs, but from what I can tell that does not seem to be "the OpenWrt way" in that I can't find other platforms doing this already
johnf has joined #openwrt-devel
danitool has quit [Ping timeout: 480 seconds]
djfe is now known as Guest5009
djfe has joined #openwrt-devel
Guest5009 has quit [Ping timeout: 480 seconds]
tidalf has quit [Remote host closed the connection]
<RoganDawes>
hi flks. I am trying to get a firmware image for the Wink Hub v1, an imx28-based device. I have managed to build a kernel and initramfs, which has got me a shell. I have got the ubi* utils in the initramfs, but appear stuck getting a handle on the actual underlying flash - i.e. the MTD. I appear to have mtd support built in, as /proc/mtd exists. Unfortunately, it is empty. I have verified that
<RoganDawes>
the partition table is in the device tree, under /sys/firmware/devicetree/base/apb@80000000/apbh@80000000/nand-controller@8000c000
<RoganDawes>
any suggestions as to what I should do next?
<RoganDawes>
I *don't* see any reference to the partitions or mtd in teh kernel dmesg, though.
<PaulFertser>
RoganDawes: probably the flash device itself isn't, or the flash controller.
<PaulFertser>
RoganDawes: I'd start with checking the flash controller in /sys/bus/platform/drivers , to see if the right driver is present and whether it's bound.
<RoganDawes>
PaulFertser: yeah, I see nothing that references mtd or gpmi
<PaulFertser>
RoganDawes: presence of the driver there would tell if you have it enabled in .config or not.
<RoganDawes>
understood, thanks!
<PaulFertser>
RoganDawes: for quick tests you can do "make kernel_menuconfig" and enable whatever you need with =y manually.
<RoganDawes>
makes sense, thanks
<PaulFertser>
"git grep <compatible-string>" in the Linux sources would tell you which driver is supposed to handle the device.
<RoganDawes>
great, thanks
danitool has joined #openwrt-devel
guidosarducci has joined #openwrt-devel
KGB-2 has quit [Remote host closed the connection]
KGB-2 has joined #openwrt-devel
guidosarducci has quit []
guidosarducci has joined #openwrt-devel
schwicht has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mark22k>
Hello, maybe a stupid question: How do I re-generate the translation template (and if necessary how do I adapt the old translation file) for a LuCi app? For example, if I inserted new string in the code and removed old ones. Is there a pre-made script for this or do I have to create the translation file by hand. By translation file I mean the .po
<mark22k>
and .pot files.
goliath has joined #openwrt-devel
goliath has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
ptudor has joined #openwrt-devel
shivam has joined #openwrt-devel
neggles has quit [Remote host closed the connection]
shivam has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
neggles has joined #openwrt-devel
schwicht has joined #openwrt-devel
csharper2005 has joined #openwrt-devel
<csharper2005>
mesh between mt7602 and mt7985. 40 MHz BW doesn't work, only 20 MHz. Is it a known issue?
<csharper2005>
latest snapshot on both devices
schwicht has quit [Ping timeout: 480 seconds]
csharper2005 has quit [Remote host closed the connection]