Jump to content

gerotmf

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by gerotmf

  1. I have the problem that the USB connection randomly goes out. As a result, my 3D printer no longer works. Sometimes the printer runs over 15 hours and the USB connection works and sometimes the USB connection stops after 8 hours. What could this be?
    Change usb cable first. Had similar problems with one of my pi4s .. and it was new cheap chinese cable. Also check dmesg and see if there is something with usb logged there lile recconect or disconnect msgs.

    Sent from my SM-S901B using Tapatalk

  2. @jock well tv box was acting up from the start (had to reflash original android rom from the start) , i've also tried 333Mhz idbloaders from the link you posted (sd boot into clean armbian, backed up original, dd to sd card, erased flash beforehand so that it will boot it).. but that killed the box .. like completely, now it doesn't even go into maskrom mode (av port button and usb a/a cable in usb2 port). I guess i can close this case :) it is weird though, the second box i bought for a friend, works ok.. although i must recheck that now, maybe under load it will also crap on me.

  3. @jock Thanks for the answer, i did catch this at some point, but it's not the same every time

     

    Spoiler

    [ 7388.558823] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
    [ 7388.566123] Modules linked in: hci_uart(E) brcmfmac(E) btqca(E) brcmutil(E) btrtl(E) btbcm(E) btintel(E) cfg80211(E) gpio_ir_recv(E) bluetooth(E) hantro_vpu(E) rockchip_vdec(CE) snd_soc_rockchip_spdif(E) rc_core(E) rockchip_rga(E) v4l2_vp9(E) snd_soc_simple_card(E) videobuf2_dma_contig(E) snd_soc_spdif_tx(E) v4l2_h264(E) snd_soc_hdmi_codec(E) videobuf2_dma_sg(E) v4l2_mem2mem(E) snd_soc_simple_card_utils(E) snd_soc_rockchip_i2s(E) snd_soc_rk3328(E) videobuf2_memops(E) snd_soc_core(E) videobuf2_v4l2(E) videobuf2_common(E) snd_compress(E) snd_pcm_dmaengine(E) videodev(E) snd_pcm(E) snd_timer(E) rfkill(E) mc(E) snd(E) lz4hc(E) soundcore(E) cpufreq_dt(E) lz4(E) joydev(E) sg(E) zram(E) binfmt_misc(E) ip_tables(E) x_tables(E) autofs4(E) dwmac_rk stmmac_platform hid_logitech_hidpp lima stmmac gpu_sched uas hid_logitech_dj pcs_xpcs dw_hdmi_cec dw_hdmi_i2s_audio drm_shmem_helper gpio_syscon adc_keys
    [ 7388.597768] CPU: 1 PID: 3085 Comm: dpkg-split Tainted: G    B    C  E      6.1.11-rockchip64 #23.02.1
    [ 7388.604983] Hardware name: Rockchip RK3318 BOX (DT)
    [ 7388.611801] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 7388.618809] pc : kmem_cache_free+0x84/0x3f0
    [ 7388.625570] lr : security_file_free+0x4c/0x60
    [ 7388.632296] sp : ffff80000d023c50
    [ 7388.638890] x29: ffff80000d023c50 x28: ffff0000013b1d80 x27: 0000000000000000
    [ 7388.645861] x26: 0000000000000000 x25: 0000000000000000 x24: 0080000000000000
    [ 7388.652839] x23: ffff8000086635bc x22: 0000000000000000 x21: ffff0000047743a8
    [ 7388.659773] x20: ffff8000086635bc x19: ffff0000004f4200 x18: ffff80000d023c78
    [ 7388.666648] x17: 0000000000000000 x16: 0000000000000000 x15: 000000000000000e
    [ 7388.673505] x14: ffff0000048def0c x13: 000000000007266f x12: 0000ffffe161ffff
    [ 7388.680332] x11: 0001000000000000 x10: fffffc0000000000 x9 : ffff80000d024000
    [ 7388.687156] x8 : ffff80000d020000 x7 : ffff0000013b1d80 x6 : 0000000000000064
    [ 7388.694027] x5 : 00000000ffffff6a x4 : 0000000000000000 x3 : 0000000000000490
    [ 7388.700846] x2 : 0000000000000001 x1 : 0ffff20000002052 x0 : ffff8000086635bc
    [ 7388.707653] Call trace:
    [ 7388.713940]  kmem_cache_free+0x84/0x3f0
    [ 7388.720347]  security_file_free+0x4c/0x60
    [ 7388.726707]  __fput+0xc8/0x250
    [ 7388.732947]  ____fput+0x10/0x20
    [ 7388.739146]  task_work_run+0x80/0xd8
    [ 7388.745357]  do_exit+0x304/0xa80
    [ 7388.751464]  do_group_exit+0x34/0x90
    [ 7388.757543]  __wake_up_parent+0x0/0x30
    [ 7388.763599]  invoke_syscall+0x44/0x108
    [ 7388.769620]  el0_svc_common.constprop.3+0x94/0xf8
    [ 7388.775664]  do_el0_svc+0x2c/0xc8
    [ 7388.781535]  el0_svc+0x20/0x50
    [ 7388.787406]  el0t_64_sync_handler+0x98/0xc0
    [ 7388.793325]  el0t_64_sync+0x170/0x174
    [ 7388.799173] Code: 9a9f12d6 f100031f 9a800294 d503201f (f9401ec0)
    [ 7388.805186] ---[ end trace 0000000000000000 ]---
    [ 7388.812022] Fixing recursive fault but reboot is needed!
    [ 7388.818738] BUG: using smp_processor_id() in preemptible [00000000] code: dpkg-split/3085
    [ 7388.825313] caller is debug_smp_processor_id+0x20/0x30
    [ 7388.831468] CPU: 3 PID: 3085 Comm: dpkg-split Tainted: G    B D  C  E      6.1.11-rockchip64 #23.02.1
    [ 7388.838006] Hardware name: Rockchip RK3318 BOX (DT)
    [ 7388.844313] Call trace:
    [ 7388.850073]  dump_backtrace+0x140/0x150
    [ 7388.856051]  show_stack+0x18/0x28
    [ 7388.861953]  dump_stack_lvl+0x68/0x84
    [ 7388.867678]  dump_stack+0x18/0x34
    [ 7388.873436]  check_preemption_disabled+0xe0/0x118
    [ 7388.879342]  debug_smp_processor_id+0x20/0x30
    [ 7388.884989]  __schedule+0x4c/0x7c8
    [ 7388.890721]  do_task_dead+0x48/0x50
    [ 7388.896398]  make_task_dead+0x118/0x168
    [ 7388.901950]  die+0x1fc/0x230
    [ 7388.907547]  die_kernel_fault+0x26c/0x35c
    [ 7388.913147]  __do_kernel_fault+0xe0/0x1b0
    [ 7388.918606]  do_page_fault+0xe0/0x4a0
    [ 7388.924210]  do_translation_fault+0x4c/0x68
    [ 7388.929798]  do_mem_abort+0x40/0x90
    [ 7388.935124]  el1_abort+0x44/0x68
    [ 7388.940582]  el1h_64_sync_handler+0x68/0x100
    [ 7388.946042]  el1h_64_sync+0x64/0x68
    [ 7388.951249]  kmem_cache_free+0x84/0x3f0
    [ 7388.956623]  security_file_free+0x4c/0x60
    [ 7388.961936]  __fput+0xc8/0x250
    [ 7388.967000]  ____fput+0x10/0x20
    [ 7388.972242]  task_work_run+0x80/0xd8
    [ 7388.977480]  do_exit+0x304/0xa80
    [ 7388.982251]  do_group_exit+0x34/0x90
    [ 7388.986880]  __wake_up_parent+0x0/0x30
    [ 7388.991431]  invoke_syscall+0x44/0x108
    [ 7388.995672]  el0_svc_common.constprop.3+0x94/0xf8
    [ 7388.999731]  do_el0_svc+0x2c/0xc8
    [ 7389.003633]  el0_svc+0x20/0x50
    [ 7389.007572]  el0t_64_sync_handler+0x98/0xc0
    [ 7389.011542]  el0t_64_sync+0x170/0x174

     

  4. Hi,

    I have a rk3318_v.14 box, which has kingston emmc and some micron ddr memory which should be brand new but looks tired ... well i've installed armbian (minimal/cli, 23.02) on it (emmc), it boots up and i have wifi, eth, usb, hdmi working, i can even apt install amrbian-config, configure it and everything seems to work ok, until there is some serious load, like f.e. apt install gcc-arm-none-eabi .. that will start gunziping and just freezes, i can log into other ssh session, but any command i issue is blocked.  I'm trying to find uart on this board but no luck so far. I've also extracted dtb/dts from original android firmware, under which it looks like box is working ok (tried copying 4GB files to emmc and such, no problems) which is located here https://drive.google.com/drive/folders/1a_lbHo4umDN56KeOWw0elDGhz6VE1LGF?usp=share_link but since my dtc guru is nonexistent i really can't make anything out of it. I've tried diffing with armbian's rk318-box.dtb but like i wrote, can't figure out what to look for... my first suspect was emmc so i also tried running from sd card with similar results. second guess is cpu power supply, where there are some diffs in dtb,

     

    Anyone has any suggestions, or can check that dtb if there is something obvious

     

    Tnx,

  5. Well i've finally found time to fiddle with emmc storage. Upgrade did corrupt boot script, so what i did is basically just copied everything from my usb flash to /dev/mmcblk1p1 including /boot  .. then fixed /boot/armbianEnv.txt so that root points to correct uuid and also /etc/fstab so that root fs can be mounted rw.. I also removed usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u line from armbianEnv.txt (not sure what that does, but it was not on sd card and i guess emmc isn't usb so .. ). 

     

    so basically, boot up with sd card or usb flash (i had running system on flash drive)

     

    do 

    blkid

    ..
    /dev/mmcblk1p1: UUID="c93833b4-8c9a-46b2-ad43-46d286ba9a10" TYPE="ext4" PARTUUID="e0788fc1-01"
    ..

     

    to get UUID of mmcblk1p1

     

    mkdir /tmp/mmc

    mount /dev/mmcblk1p1 /tmp/mmc

     

    rsync -avx / /tmp/mmc

     

    vi /tmp/mmc/boot/armbianEnv.txt

    change root UUID to the one of /dev/mmcblk1p1 from blkid command

    save changes

     

    vi /tmp/mmc/etc/fstab

    change first line, use same UUID as above

    save changes

     

    umount /mnt/tmp

     

    poweroff

     

    then remove usb flash (for me) i guess sd card for you, and press reset button ..

     

    I can confirm that 5.59 works on orangepi pc plus from emmc.

     

     

  6. Hi,

     

    Is there a way to fix emmc booting problem from uboot itself, i've updated armbian and now orangepi pc+ doesn't boot, i've connected uart and i see that it reads /boot/boot.scr from mmc 1, but then tries to load stuff from mmc 0, so i guess my boot.scr got overwritten by default one .. or something.

     

    boot shows this

     

    => boot
    switch to partitions #0, OK
    mmc1(part 0) is current device
    Scanning mmc 1:1...
    Found U-Boot script /boot/boot.scr
    3565 bytes read in 6 ms (580.1 KiB/s)
    ## Executing script at 43100000
    U-boot loaded from eMMC or secondary SD
    Boot script loaded from mmc
    MMC: no card present
    ** Bad device mmc 0 **
    MMC: no card present
     

    ...

     

    and then BOOTP load 

     

    If it's possible to fix from uart console, it would be nice, but i guess i'll have to go search for some sd card or usb key to boot :(

     

     

     

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines