Hello, Iam install headers from boot dir, create symlinks to folder with builded sources for module. re-run dkms compilation, and have new throubles ;) Maybe you know what I can fix this ? DKMS make.log for wireguard-0.0.20190702 for kernel 4.12.1-kirkwood-tld-1 (armv5tel) Thu Jul 25 09:15:31 +03 2019 make: Entering directory '/usr/src/linux-headers-4.12.1-kirkwood-tld-1'by yury_minsk - uBoot
Some time passed and I have another one problem :) I want install wireguard vpn on my device, but I can't compile module without headers 4.12.1-kirkwood-tld-1 =( Can you help me with this little issue ? # 4.12.1-kirkwood-tld-1 dkms status wireguard, 0.0.20190702: added # 4.12.1-kirkwood-tld-1 dkms autoinstall Error! echo Yourby yury_minsk - uBoot
bodhi, WIN! Many thanks!!!!by yury_minsk - uBoot
bodhi, Super! I write original flash and uboot works good without kwboot. Power Button working good! Unbricked! But, Im boot not from USB system, only from NAND.... how can I setup env and write env to flash with usb booting ? __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ Vby yury_minsk - uBoot
|⇒ cat Documents/env.txt setenv mainlineLinux yes setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x100000by yury_minsk - uBoot
bodhi, Copypaste my all boot log with env prints: ➜ u-boot kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-db88f6282abp_533ddr3db_nand.pached.bin -p Hby yury_minsk - uBoot
bodhi, root@debian:~# fw_printenv baudrate=115200 loads_echo=0 ipaddr=192.168.58.21 serverip=192.168.58.135 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=no stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPrefby yury_minsk - uBoot
bodhi, ➜ u-boot kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-db88f6282abp_533ddr3db_nand.pached.bin -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [...............................................by yury_minsk - uBoot
bodhi, Hello. After 2 months I finished all my troubles with laptop and start again my fighting with NAS. I create rootfs usb and load from it. What now I have: booting via KWBOOT with my custom image loading rootfs from usb after sen env in marvell uboot this looks like: > kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-db88f6282abp_533ddr3db_nand.pached.bin -p ---skip---by yury_minsk - uBoot
After removing ECHO arg in bootcmd I have loading from USB, but, again have error __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _by yury_minsk - uBoot
bodhi, __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \by yury_minsk - uBoot
bodhi, Ok. I created rootfs USB flash with Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 Use ext3 (because my uboot is old version) and done all steps. What is next ? I try to boot via my pachded uboot (kwboot) but all loading from HDD RAID (usb is lpuged but ignored by loading)by yury_minsk - uBoot
bodhi, Im attached boot output , and dmesg out. Look at this filesby yury_minsk - uBoot
bodhi, I load into my linux on NAS via kwboot (fixed bootflag), how can I write my compiled fresh u-boot ? what params of nandwrite I need use ? my partition on NAND is > cat /proc/mtd dev: size erasesize name mtd0: 00180000 00020000 "u-boot" mtd1: 00020000 00020000 "u-boot-env" mtd2: 00600000 00020000 "uImage" mtd3: 01000000 00020000 "miby yury_minsk - uBoot
Bodhi, 1) I'am downloaded last official firmware for my Netgear ReadyNas Duo V2 on https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL]NETGEAR Open Source Code for Programmers (GPL) - RND_5.3.13_WW.src.zip 2)Downloaded toolchain from readynas site - cross-sdk3.2rc1-ct-ng-1.4.1-arm-mv5sft-linux-gnueabi-1107-12-07-2009.tar.bz2 3) Extract and add to my zsh $PATH biby yury_minsk - uBoot
bodhi, Thanks for help. Im going to start investigating sources of uboot Ray, thanks for link. I will write after rebuild uboot and test all variants to fix my brickby yury_minsk - uBoot
Bodhi, I try all possible things: hold button , pushing button, change ttl converter (pl2302-ch341a), use mtd0 file from my friends readynas duo v2, remove battery, replace battery.... but nothing good. Only after showing logo u-boot power light blinking and i again show "lovely" message about powering on this brick. On motherboard i see 10-pins unsoldering jtag connector. Maybe tby yury_minsk - uBoot
bodhi , > Does the box power up when you plug in the power > cord, or did you have to press Power button? No, before bricking device I testing the marvall ttl console connection and after plug power cord to device on screen TTL I saw this message about powering on. After pressing the power button on device, i have countdown, hit enter and uboot console welcome me. maybe after biby yury_minsk - uBoot
bodhi, Nothing good.... Not working pressing power button many times after-before starting kwboot, Iam stuck at the line about "Please, Switch On!" Iam installed and tryed etherwake , but nothing > sudo etherwake e0:46:9a:a0:3f:b3 SIOCGIFHWADDR on eth0 failed: No such device p.s. tcpdump on my laptop interface connected to nas show only outcoming requests to nasby yury_minsk - uBoot
I trying ctrl-c on u-boot loading, pressing all buttons on nas, but nothing. My friend have this model of nas too. He can dump all mtd flash. Maybe in my dump I dont have keybindings on nas (eg. Power and backup). And I can disassembly nas and look on motherboard additional powerup pinsby yury_minsk - uBoot
bodhi, I trying many times press power button on nas, pressing backup button, power+backup.... but nothing (( > Try pressing the Power button once here. See if it > will get out of the hang.by yury_minsk - uBoot
bodhi, I can't do anything... Power on button do nothing, but after my bricking after push power button I see countdown and can go to Marvell shell... but right now I can't do anything... last line: Plug On and Power down, Please Switch On ! I have my old cat /proc/mtd root@storage:~# cat /proc/mtd dev: size erasesize name mtd0: 00180000 00020000 "u-boot&quoby yury_minsk - uBoot
bodhi, After many times trying to make kwboot compleate, Im upgrade my linux kernel from 4.4 to 4.20rc8, and all was done. > kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0 -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [...........by yury_minsk - uBoot
bodhi, > sudo apt install u-boot-tools > kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0 -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message I try some times with connected console plug-unplug powerc supply... only bad message =(by yury_minsk - uBoot
Hi All ! Yesterday I bricked my oldest Netgear ReadyNas Duo v2 and need help for repair her. I was try to upgrade u-boot loader to 2017.07 (https://forum.doozan.com/read.php?3,12381) and NAS going to die. What I done: 1) Download tools to NAS (https://forum.doozan.com/read.php?3,27280) 2) Download firmware for Stora Netgear (beacouse I think this similar vendor of NAS hardware) uboot.20by yury_minsk - uBoot