Search found 11 matches

by alex9x
2024-12-05 11:05
Forum: LuckFox Pico
Topic: hardware reset
Replies: 6
Views: 1572

Re: hardware reset

Hello! Are you sure that before running last init.d script system will correctly close fs? Seems my answer is NO. FS is only one that need to be correctly closed before reboot or shutdown. This is last step before sending hardware reset signal from os/kernel in unix. Please, advise about read-only f...
by alex9x
2024-11-20 18:01
Forum: LuckFox Pico
Topic: hardware reset
Replies: 6
Views: 1572

Re: hardware reset

In a few words - need make daily hardware reset by disabling board power by external relay, for example each day in 2:00 AM. By now I use script from cron for hardware reset: #!/bin/sh sync sleep 2 echo default-on >/sys/class/leds/hw_reser/trigger Led device named hw_reset connets PC817 with relay, ...
by alex9x
2024-11-16 10:21
Forum: LuckFox Pico
Topic: hardware reset
Replies: 6
Views: 1572

Re: hardware reset

May be you don`t understand me, I need make some pin high before software kernel reset (it shows "reboot: Restarting system" message before reboot). Or make triggering one pin before this message (seems need look into kernel?). Some hardware duplication of software reset that will reset po...
by alex9x
2024-11-16 0:39
Forum: LuckFox Pico
Topic: hardware reset
Replies: 6
Views: 1572

hardware reset

Hello! Need to make hardware reset of board and usb modem on it by switching relay with power. (By default power goes from NC to COM contact on relay, then simple scheme with optocoupler and npn makes relay switch and board lost power and in a few seconds relay back to powering board.) This work on ...
by alex9x
2024-10-03 21:16
Forum: LuckFox Pico
Topic: microSD cards support
Replies: 1
Views: 1296

microSD cards support

Hello! Pico Pro Max bootloader does not "see" SanDisk Ultra 32GB microSDHC UHS-I card with ubuntu image. Does bootloader support cards more than 8GB? Does it support SDHC or SDXC card types? Make all by wiki manual, no any errors on format or making sd in SocToolKit. 2GB card shows on boot...
by alex9x
2024-08-17 10:37
Forum: LuckFox Pico
Topic: change console from ttyS2 to ttyS5
Replies: 6
Views: 1767

Re: change console from ttyS2 to ttyS5

Same manipulations to change uart2 to uart3 - all ok, reloader send all to uart3, same byte have changed from 0x21 to 0x31.

And other uboot and kernel also OK with changes to uart3 just for FIQ, no any other address change or config files.

Seems only uart1 problem in preloader/rkbin.
by alex9x
2024-08-16 16:52
Forum: LuckFox Pico
Topic: change console from ttyS2 to ttyS5
Replies: 6
Views: 1767

Re: change console from ttyS2 to ttyS5

Have a try to change debug port with ddrbin. Use Pico Max for tests. This board layout have uart1 on same pins that on plus are uart5. Have dump rv1106_ddr_924MHz_v1.10.bin loader config by ddrbin_tool: ./ddrbin_tool -g dump_params.txt rv1106_ddr_924MHz_v1.10.bin dump result have expected uart2: ......
by alex9x
2024-08-15 15:05
Forum: LuckFox Pico
Topic: change console from ttyS2 to ttyS5
Replies: 6
Views: 1767

Re: change console from ttyS2 to ttyS5

Entering maskrom mode you mean boot button while switching power? And use SocToolKit to flash? Another flashing question. New batch arrives and first tested chip shows: sfc_nand_check_bad_block page= 1bf80 ret= 0 spare= 0 e: 6fe00 is bad block skip0 in console while flashing it via SocToolKit. This ...
by alex9x
2024-08-14 22:01
Forum: LuckFox Pico
Topic: change console from ttyS2 to ttyS5
Replies: 6
Views: 1767

change console from ttyS2 to ttyS5

Hello! Have a try to change console port from ttyS2 to ttyS5 (have a serial shield that use ttyS2 port for data exchange). Make changes from 0xff4c0000 to 0xff4f0000 address in DEBUG_UART_BASE, have a try to change fiq_debugger in dtsi to serial-id = <5>, have a try to change in bootargs. No any suc...
by alex9x
2024-07-30 16:03
Forum: LuckFox Pico
Topic: SAFE disabling unused modules
Replies: 4
Views: 2083

Re: SAFE disabling unused modules

Hello! There are some features that can't remove safely, like samba and others. Their links are in some configure files that don`t change with menuconfig. And need to comment them in Makefiles in different folders. Some changes need to make in RkLunch.sh that placed in app folder, without it net int...