导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    Tina如何打包SPI NOR、SPI NAND固件

    MR Series
    6
    8
    3847
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • YuzukiTsuru
      柚木 鉉 LV 9 最后由 编辑

      需要修改哪一个配置文件

      1 条回复 最后回复 回复 引用 分享 0
      • U
        uuuuid LV 6 最后由 编辑

        TINA SDK 默认打包的就是 SPI NAND 固件, 也可以用于TF卡, 但是 SPI NOR 得单独改一个出来才行.

        1 条回复 最后回复 回复 引用 分享 0
        • tigger
          tigger LV 7 最后由 编辑

          sys_config.fex storage_type storage_type 改为3:

          ;----------------------------------------------------------------------------------
          ;storage_type   = boot medium, 0-nand, 1-sd, 2-emmc, 3-nor, 4-emmc3, 5-spinand -1(defualt)auto scan
          ;----------------------------------------------------------------------------------
          [target]
          storage_type    = 3
          

          打包:

          $ pack
          --==========--
          PACK_CHIP         sun20iw1p1
          PACK_PLATFORM     tina
          PACK_BOARD        d1-mangopi_mq_rgb800x480_gt9xx
          PACK_KERN
          PACK_DEBUG        uart0
          PACK_SIG          none
          PACK_SECURE       none
          PACK_MODE         normal
          PACK_FUNC         android
          PACK_PROGRAMMER   none
          PACK_TAR_IMAGE    none
          PACK_TOPDIR       /opt/D1/tina_d1_open_v1.0_debug2
          --==========--
          No kernel param, parse it from d1
          copying tools file
          copying configs file
          storage_type value is 3
          storage type is nor
          image_nor.cfg is exist
          mv image_nor.cfg image.cfg
          copying boot resource
          
          LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
          copying boot file
          make user resource for : /opt/D1/tina_d1_open_v1.0_debug2/out/d1-mangopi_mq_rgb800x480_gt9xx/image/sys_partition_nor.fex
          handle partition user-res
          no user resource partitions
          APP_PART_DOWNLOAD_FILE = /opt/D1/tina_d1_open_v1.0_debug2/out/d1-mangopi_mq_rgb800x480_gt9xx/image/app.fex
          Need size of filesystem
          no data resource partitions
          don't build dtbo ...
          update_chip
          mv: cannot stat 'u-boot-spinor-crash.fex': No such file or directory
          pack boot package
          GetPrivateProfileSection read to end
          content_count=3
          file /opt/D1/tina_d1_open_v1.0_debug2/out/d1-mangopi_mq_rgb800x480_gt9xx/image/u-boot-spinor.fex cant be open
          create package failed
          pack boot package
          GetPrivateProfileSection read to end
          content_count=3
          packing for tina linux
          normal
          ERROR: dl file kernel.fex size too large
          ERROR: filename = kernel.fex
          ERROR: dl_file_size = 18644 sector
          ERROR: part_size = 13184 sector
          ERROR: update mbr file fail
          ERROR: update_mbr failed
          $
          
          YuzukiTsuru T 2 条回复 最后回复 回复 引用 分享 1
          • YuzukiTsuru
            柚木 鉉 LV 9 @tigger 最后由 YuzukiTsuru 编辑

            @tigger 可以用,虽然没法打包完成就是了((要改一下分区表

            1 条回复 最后回复 回复 引用 分享 0
            • S
              smartcar LV 2 最后由 smartcar 编辑

              [34]HELLO! BOOT0 is starting!
              [37]BOOT0 commit : 88480af
              [40]set pll start
              [42]periph0 has been enabled
              [44]set pll end
              [46][pmu]: bus read error
              [48]board init ok
              [50]ZQ value = 0x2e
              [52]get_pmu_exist() = -1
              [54]DRAM BOOT DRIVE INFO: V0.33
              [57]DRAM CLK = 528 MHz
              [59]DRAM Type = 2 (2:DDR2,3:DDR3)
              [62]DRAMC read ODT  off.
              [65]DRAM ODT off.
              [67]ddr_efuse_type: 0xa
              [69]DRAM SIZE =64 M
              [71]dram_tpr4:0x0
              [73]PLL_DDR_CTRL_REG:0xf8002b00
              [76]DRAM_CLK_REG:0xc0000000
              [78][TIMING DEBUG] MR2= 0x0
              [83]DRAM simple test OK.
              [85]dram size =64
              [87]spinor id is: c2 20 19, read cmd: 6b
              [90]Succeed in reading toc file head.
              [94]The size of toc is 100000.
              [139]Entry_name        = opensbi
              [142]Entry_name        = u-boot
              [146]Entry_name        = dtb
              ▒149]Jump to second Boot.
              
              U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology
              
              [00.158]DRAM:  64 MiB
              [00.161]Relocation Offset is: 01ee7000
              [00.165]secure enable bit: 0
              [00.168]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
              [00.175]flash init start
              [00.177]workmode = 0,storage type = 3
              [00.184]spi sunxi_slave->max_hz:100000000
              SF: Detected mx25l25635e with page size 256 Bytes, erase size 64 KiB, total 32 MiB
              [00.195]sunxi flash init ok
              [00.198]line:703 init_clocks
              [00.201]drv_disp_init
              request pwm success, pwm7:pwm7:0x2000c00.
              [00.222]drv_disp_init finish
              [00.224]boot_gui_init:start
              [00.228]set disp.dev2_output_type fail. using defval=0
              [00.235]boot_gui_init:finish
              partno erro : can't find partition bootloader
              ** Unrecognized filesystem type **
              [00.245]sunxi bmp info error : unable to open logo file bootlogo.bmp
              [00.252]Loading Environment from SUNXI_FLASH... OK
              [00.268]out of usb burn from boot: not need burn key
              [00.272]get secure storage map err
              partno erro : can't find partition private
              root_partition is rootfs
              set root to /dev/mtdblock5
              [00.284]update part info
              [00.286]update bootcmd
              [00.288]change working_fdt 0x42aa6da0 to 0x42a86da0
              disable nand error: FDT_ERR_NOTFOUND
              No reserved memory region found in source FDT
              [00.325]update dts
              noncached_alloc(): addr = 0x42c4a200
              noncached_alloc(): addr = 0x42c4a240
              noncached_alloc(): addr = 0x42c4a280
              noncached_alloc(): addr = 0x42c4aac0
              geth_sys_init:634: get node 'gmac0' error
              geth_sys_init fail!
              [00.345]Board Net Initialization Failed
              [00.349]No ethernet found.
              Hit any key to stop autoboot:  1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
              sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
              [00.426]LCD open finish                                                                                                                                                                            0
              [01.512]no vendor_boot partition is found
              Android's image name: d1s-nezha
              Detect comp none
              [01.529]
              Starting kernel ...
              
              Linux version 5.4.61 (smartcar@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #15 PREEMPT Wed Mar 9 03:54:26 UTC 2022
              Zone ranges:
                DMA32    [mem 0x0000000040000000-0x0000000043ffffff]
                Normal   empty
              Movable zone start for each node
              Early memory node ranges
                node   0: [mem 0x0000000040000000-0x0000000043ffffff]
              Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
              On node 0 totalpages: 16384
                DMA32 zone: 224 pages used for memmap
                DMA32 zone: 0 pages reserved
                DMA32 zone: 16384 pages, LIFO batch:3
              elf_hwcap is 0x20112d
              pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
              pcpu-alloc: [0] 0
              Built 1 zonelists, mobility grouping on.  Total pages: 16160
              Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/pseudo_init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480
              Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
              Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
              Sorting __ex_table...
              mem auto-init: stack:off, heap alloc:off, heap free:off
              Memory: 55680K/65536K available (4331K kernel code, 407K rwdata, 1700K rodata, 144K init, 231K bss, 9856K reserved, 0K cma-reserved)
              SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
              rcu: Preemptible hierarchical RCU implementation.
                      Tasks RCU enabled.
              rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
              NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
              plic: mapped 200 interrupts with 1 handlers for 2 contexts.
              riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
              clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
              sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
              riscv_timer_clockevent depends on broadcast, but no broadcast function available
              clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
              Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
              pid_max: default: 32768 minimum: 301
              Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
              Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
              ASID allocator initialised with 65536 entries
              rcu: Hierarchical SRCU implementation.
              devtmpfs: initialized
              random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0
              clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
              futex hash table entries: 256 (order: 0, 6144 bytes, linear)
              pinctrl core: initialized pinctrl subsystem
              NET: Registered protocol family 16
              DMA: preallocated 256 KiB pool for atomic allocations
              cpuidle: using governor menu
              rtc_ccu: sunxi ccu init OK
              clock: sunxi ccu init OK
              clock: sunxi ccu init OK
              iommu: Default domain type: Translated
              sunxi iommu: irq = 4
              SCSI subsystem initialized
              usbcore: registered new interface driver usbfs
              usbcore: registered new interface driver hub
              usbcore: registered new device driver usb
              videodev: Linux video capture interface: v2.00
              Advanced Linux Sound Architecture Driver Initialized.
              pwm module init!
              g2d 5410000.g2d: Adding to iommu group 0
              G2D: rcq version initialized.major:252
              clocksource: Switched to clocksource riscv_clocksource
              sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
              NET: Registered protocol family 2
              tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
              TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
              TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
              TCP: Hash tables configured (established 512 bind 512)
              UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
              UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
              NET: Registered protocol family 1
              sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
              spi spi0: spi0 supply spi not found, using dummy regulator
              sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
              sunxi_spi_resource_get()2189 - Failed to get sample mode
              sunxi_spi_resource_get()2194 - Failed to get sample delay
              sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
              sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
              sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
              workingset: timestamp_bits=62 max_order=14 bucket_order=0
              squashfs: version 4.0 (2009/01/31) Phillip Lougher
              ntfs: driver 2.1.32 [Flags: R/W].
              io scheduler mq-deadline registered
              io scheduler kyber registered
              [DISP]disp_module_init
              disp 5000000.disp: Adding to iommu group 0
              [DISP] parser_disp_init_para,line:1430:
              of_property_read fb0_width fail
              [DISP] disp_init,line:2386:
              smooth display screen:0 type:1 mode:4
              display_fb_request,fb_id:0
              Freeing logo buffer memory: 1500K
              disp_al_manager_apply ouput_type:1
              sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
              [DISP]disp_module_init finish
              sunxi_sid_init()551 - insmod ok
              pwm-regulator: supplied by regulator-dummy
              sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
              uart uart0: get regulator failed
              uart uart0: uart0 supply uart not found, using dummy regulator
              uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
              sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
              printk: console [ttyS0] enabled
              misc dump reg init
              sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
              sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
              sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
              sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
              sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
              sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
              sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
              sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1
              sun8iw20-pinctrl 2000000.pinctrl: pin PE3 already requested by 2500000.uart; cannot claim for 2000000.pinctrl:131
              sun8iw20-pinctrl 2000000.pinctrl: pin-131 (2000000.pinctrl:131) status -22
              sunxi-rfkill soc@3000000:rfkill@0: can't request wlan_regon gpio 131
              sunxi-rfkill: probe of soc@3000000:rfkill@0 failed with error -22
              [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
              [ADDR_MGT] addr_mgt_probe: success.
              spi-nor spi0.0: mx25l25635e (32768 Kbytes)
              7 sunxipart partitions found on MTD device spi0.0
              Creating 7 MTD partitions on "spi0.0":
              0x000000000000-0x000000180000 : "uboot"
              0x000000180000-0x000000190000 : "boot-resource"
              0x000000190000-0x0000001d0000 : "env"
              0x0000001d0000-0x000000210000 : "env-redund"
              0x000000210000-0x000000990000 : "boot"
              0x000000990000-0x000001170000 : "rootfs"
              0x000001170000-0x000002000000 : "UDISK"
              ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
              sunxi-ehci: EHCI SUNXI driver
              get ehci1-controller wakeup-source is fail.
              sunxi ehci1-controller don't init wakeup source
              [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000698010, 0x:ffffffd00406f000, irq_no:31
              sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
              sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
              sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
              sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
              sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
              sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
              hub 1-0:1.0: USB hub found
              hub 1-0:1.0: 1 port detected
              ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
              sunxi-ohci: OHCI SUNXI driver
              get ohci1-controller wakeup-source is fail.
              sunxi ohci1-controller don't init wakeup source
              [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006983d8
              sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
              sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
              sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
              sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
              sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
              hub 2-0:1.0: USB hub found
              hub 2-0:1.0: 1 port detected
              sunxi-rtc 7090000.rtc: registered as rtc0
              sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:17:34 UTC (8254)
              sunxi-rtc 7090000.rtc: sunxi rtc probed
              i2c /dev entries driver
              IR NEC protocol handler initialized
              uvcvideo: Unable to create debugfs directory
              usbcore: registered new interface driver uvcvideo
              USB Video Class driver (1.1.1)
              sunxi cedar version 1.1
              sunxi-cedar 1c0e000.ve: Adding to iommu group 0
              VE: install start!!!
              
              VE: cedar-ve the get irq is 6
              
              VE: install end!!!
              
              VE: sunxi_cedar_probe
              sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
              sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
              sunxi-mmc 4021000.sdmmc: No vmmc regulator found
              sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
              sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
              sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
              sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
              sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
              sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
              sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
              sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
              sunxi-mmc 4021000.sdmmc: detmode:manually by software
              ashmem: initialized
              exFAT: Version 1.3.0
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
              [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
              
              [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
              [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
              sid_rd_ver_reg()254 - ver >= 4, soc ver:5
              [SNDCODEC][sunxi_card_init][583]:card init finished
              sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
              sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
              input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
              [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
              NET: Registered protocol family 10
              Segment Routing with IPv6
              [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
              NET: Registered protocol family 17
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
              sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
              sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
              sunxi-i2c sunxi-i2c2: probe success
              mmc0: new high speed SDIO card at address 0001
              sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
              get ehci0-controller wakeup-source is fail.
              sunxi ehci0-controller don't init wakeup source
              [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000697880, 0x:ffffffd0040f2000, irq_no:2e
              [sunxi-ehci0]: Not init ehci0
              get ohci0-controller wakeup-source is fail.
              sunxi ohci0-controller don't init wakeup source
              [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000697c48
              [sunxi-ohci0]: Not init ohci0
              UBI error: cannot open mtd sys, error -2
              UBI: block: can't open volume on ubi0_-1, err=-19
              platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
              clk: Not disabling unused clocks
              ALSA device list:
                #0: audiocodec
              alloc_fd: slot 0 not NULL!
              cfg80211: failed to load regulatory.db
              VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
              random: fast init done
              devtmpfs: mounted
              Freeing unused kernel memory: 144K
              This architecture does not have kernel memory protection.
              Run /pseudo_init as init process
              mount: mounting none on /dev failed: Device or resource busy
              mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device
              Mount Failed: formating /dev/by-name/rootfs_data to jffs2 ...
              mkfs.jffs2: error!: Unrecognisable erase size
              
              can't run '/etc/preinit': No such file or directory
              mount: mounting proc on /proc failed: Device or resource busy
              mount: mounting tmpfs on /run failed: No such file or directory
              hostname: can't open '/etc/hostname': No such file or directory
              ------run rc.preboot file-----
              mkfs.jffs2: error!: Unrecognisable erase size
              
              ------run rc.modules file-----
              ------run rc.final file-----
              file system registered
              configfs-gadget 4100000.udc-controller: failed to start g1: -19
              sh: write error: No such device
              read descriptors
              read strings
              
              insmod_device_driver
              
              sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
              
              rmmod_device_driver
              
              rmmod_device_driver()222 WARN: get power supply failed
              android_work: did not send uevent (0 0 0000000000000000)
              
              insmod_host_driver
              
              [ehci0-controller]: sunxi_usb_enable_ehci
              [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000697880, 0x:ffffffd0040f2000, irq_no:2e
              sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator
              sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller
              sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3
              sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000
              sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00
              hub 3-0:1.0: USB hub found
              hub 3-0:1.0: 1 port detected
              [ohci0-controller]: sunxi_usb_enable_ohci
              [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000697c48
              sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator
              sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller
              sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4
              sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400
              hub 4-0:1.0: USB hub found
              hub 4-0:1.0: 1 port detected
              host_chose finished!
              
              
              BusyBox v1.27.2 () built-in shell (ash)
              
              nice: can't execute '/usr/bin/story_ota_bin': No such file or directory
              ------run profile file-----
               _____  _              __     _
              |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
                | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
                | |  | || | || _ |  |_____||_||_|_||___||_,_|
                |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
               ----------------------------------------------
               Tina Linux (Neptune, 61CC0487)
               ----------------------------------------------
              root@TinaLinux:/# random: crng init done
              pio-18: disabling
              pio-33: disabling
              
              root@TinaLinux:/#
              root@TinaLinux:/#
              root@TinaLinux:/#
              root@TinaLinux:/# cat /proc/mtd
              dev:    size   erasesize  name
              mtd0: 00180000 00001000 "uboot"
              mtd1: 00010000 00001000 "boot-resource"
              mtd2: 00040000 00001000 "env"
              mtd3: 00040000 00001000 "env-redund"
              mtd4: 00780000 00001000 "boot"
              mtd5: 007e0000 00001000 "rootfs"
              mtd6: 00e90000 00001000 "UDISK"
              root@TinaLinux:/#
              root@TinaLinux:/#
              

              e9facb5e-6e9a-4d7a-aa62-d0e144926fcb-image.png

              烧录固件下载: d1s_spinor_20220309.img

              没有 overlayfs ,文件系统只读

              调试串口: PE2 / PE3

              1 条回复 最后回复 回复 引用 分享 0
              • S
                smartcar LV 2 最后由 whycan 编辑

                32M spi nor flash : d1s_spinor_patch_squashfs_overlayfs_20220310.img.7z

                启动日志:

                [34]HELLO! BOOT0 is starting!
                [37]BOOT0 commit : 88480af
                [40]set pll start
                [42]periph0 has been enabled
                [44]set pll end
                [46][pmu]: bus read error
                [48]board init ok
                [50]ZQ value = 0x2e
                [52]get_pmu_exist() = -1
                [54]DRAM BOOT DRIVE INFO: V0.33
                [57]DRAM CLK = 528 MHz
                [59]DRAM Type = 2 (2:DDR2,3:DDR3)
                [62]DRAMC read ODT  off.
                [65]DRAM ODT off.
                [67]ddr_efuse_type: 0xa
                [69]DRAM SIZE =64 M
                [71]dram_tpr4:0x0
                [73]PLL_DDR_CTRL_REG:0xf8002b00
                [76]DRAM_CLK_REG:0xc0000000
                [78][TIMING DEBUG] MR2= 0x0
                [83]DRAM simple test OK.
                [85]dram size =64
                [87]spinor id is: c2 20 19, read cmd: 6b
                [90]Succeed in reading toc file head.
                [94]The size of toc is fc000.
                [138]Entry_name        = opensbi
                [141]Entry_name        = u-boot
                [145]Entry_name        = dtb
                ▒148]Jump to second Boot.
                
                U-Boot 2018.05-g24521d6-dirty (Mar 10 2022 - 00:26:15 +0800) Allwinner Technology
                
                [00.158]DRAM:  64 MiB
                [00.160]Relocation Offset is: 01ee7000
                [00.165]secure enable bit: 0
                [00.168]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
                [00.174]flash init start
                [00.176]workmode = 0,storage type = 3
                [00.184]spi sunxi_slave->max_hz:100000000
                SF: Detected mx25l25635e with page size 256 Bytes, erase size 64 KiB, total 32 MiB
                [00.194]sunxi flash init ok
                [00.197]line:703 init_clocks
                [00.200]drv_disp_init
                request pwm success, pwm7:pwm7:0x2000c00.
                [00.221]drv_disp_init finish
                [00.224]boot_gui_init:start
                [00.227]set disp.dev2_output_type fail. using defval=0
                [00.234]boot_gui_init:finish
                partno erro : can't find partition bootloader
                ** Unrecognized filesystem type **
                [00.244]sunxi bmp info error : unable to open logo file bootlogo.bmp
                [00.251]Loading Environment from SUNXI_FLASH... OK
                [00.267]out of usb burn from boot: not need burn key
                [00.271]get secure storage map err
                partno erro : can't find partition private
                root_partition is rootfs
                set root to /dev/mtdblock5
                [00.283]update part info
                [00.286]update bootcmd
                [00.288]change working_fdt 0x42aa6da0 to 0x42a86da0
                disable nand error: FDT_ERR_NOTFOUND
                No reserved memory region found in source FDT
                [00.326]update dts
                noncached_alloc(): addr = 0x42c4a040
                noncached_alloc(): addr = 0x42c4a240
                noncached_alloc(): addr = 0x42c4a280
                noncached_alloc(): addr = 0x42c4aac0
                geth_sys_init:634: get node 'gmac0' error
                geth_sys_init fail!
                [00.346]Board Net Initialization Failed
                [00.349]No ethernet found.
                Hit any key to stop autoboot:  1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
                sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
                [00.425]LCD open finish                                                                                                                                           0
                [01.512]no vendor_boot partition is found
                Android's image name: d1s-nezha
                Detect comp none
                [01.529]
                Starting kernel ...
                
                ** 1 printk messages dropped **
                Zone ranges:
                  DMA32    [mem 0x0000000040000000-0x0000000043ffffff]
                  Normal   empty
                Movable zone start for each node
                Early memory node ranges
                  node   0: [mem 0x0000000040000000-0x0000000043ffffff]
                Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
                On node 0 totalpages: 16384
                  DMA32 zone: 224 pages used for memmap
                  DMA32 zone: 0 pages reserved
                  DMA32 zone: 16384 pages, LIFO batch:3
                elf_hwcap is 0x20112d
                pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
                pcpu-alloc: [0] 0
                Built 1 zonelists, mobility grouping on.  Total pages: 16160
                Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/pseudo_init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 mbr_offset=1556480 disp_reserve=1536000,0x000000
                Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
                Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
                Sorting __ex_table...
                mem auto-init: stack:off, heap alloc:off, heap free:off
                Memory: 55612K/65536K available (4386K kernel code, 397K rwdata, 1721K rodata, 144K init, 232K bss, 9924K reserved, 0K cma-reserved)
                SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
                rcu: Preemptible hierarchical RCU implementation.
                        Tasks RCU enabled.
                rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
                NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
                plic: mapped 200 interrupts with 1 handlers for 2 contexts.
                riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
                clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
                sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
                riscv_timer_clockevent depends on broadcast, but no broadcast function available
                clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
                Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
                pid_max: default: 32768 minimum: 301
                Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
                Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
                ASID allocator initialised with 65536 entries
                rcu: Hierarchical SRCU implementation.
                devtmpfs: initialized
                random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0
                clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
                futex hash table entries: 256 (order: 0, 6144 bytes, linear)
                pinctrl core: initialized pinctrl subsystem
                NET: Registered protocol family 16
                DMA: preallocated 256 KiB pool for atomic allocations
                cpuidle: using governor menu
                rtc_ccu: sunxi ccu init OK
                clock: sunxi ccu init OK
                clock: sunxi ccu init OK
                iommu: Default domain type: Translated
                sunxi iommu: irq = 4
                SCSI subsystem initialized
                usbcore: registered new interface driver usbfs
                usbcore: registered new interface driver hub
                usbcore: registered new device driver usb
                videodev: Linux video capture interface: v2.00
                Advanced Linux Sound Architecture Driver Initialized.
                pwm module init!
                g2d 5410000.g2d: Adding to iommu group 0
                G2D: rcq version initialized.major:252
                clocksource: Switched to clocksource riscv_clocksource
                sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
                NET: Registered protocol family 2
                tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
                TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
                TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
                TCP: Hash tables configured (established 512 bind 512)
                UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
                UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
                NET: Registered protocol family 1
                sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
                spi spi0: spi0 supply spi not found, using dummy regulator
                sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
                sunxi_spi_resource_get()2189 - Failed to get sample mode
                sunxi_spi_resource_get()2194 - Failed to get sample delay
                sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
                sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
                sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
                workingset: timestamp_bits=62 max_order=14 bucket_order=0
                squashfs: version 4.0 (2009/01/31) Phillip Lougher
                ntfs: driver 2.1.32 [Flags: R/W].
                jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
                io scheduler mq-deadline registered
                io scheduler kyber registered
                [DISP]disp_module_init
                disp 5000000.disp: Adding to iommu group 0
                [DISP] parser_disp_init_para,line:1430:
                of_property_read fb0_width fail
                [DISP] disp_init,line:2386:
                smooth display screen:0 type:1 mode:4
                display_fb_request,fb_id:0
                Freeing logo buffer memory: 1500K
                disp_al_manager_apply ouput_type:1
                sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
                [DISP]disp_module_init finish
                sunxi_sid_init()551 - insmod ok
                pwm-regulator: supplied by regulator-dummy
                sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
                uart uart0: get regulator failed
                uart uart0: uart0 supply uart not found, using dummy regulator
                uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
                sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
                printk: console [ttyS0] enabled
                misc dump reg init
                sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
                sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
                sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
                sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
                sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
                sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
                sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
                sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1
                sun8iw20-pinctrl 2000000.pinctrl: pin PE3 already requested by 2500000.uart; cannot claim for 2000000.pinctrl:131
                sun8iw20-pinctrl 2000000.pinctrl: pin-131 (2000000.pinctrl:131) status -22
                sunxi-rfkill soc@3000000:rfkill@0: can't request wlan_regon gpio 131
                sunxi-rfkill: probe of soc@3000000:rfkill@0 failed with error -22
                [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
                [ADDR_MGT] addr_mgt_probe: success.
                spi-nor spi0.0: mx25l25635e (32768 Kbytes)
                8 sunxipart partitions found on MTD device spi0.0
                Creating 8 MTD partitions on "spi0.0":
                0x000000000000-0x000000180000 : "uboot"
                0x000000180000-0x000000190000 : "boot-resource"
                0x000000190000-0x0000001d0000 : "env"
                0x0000001d0000-0x000000210000 : "env-redund"
                0x000000210000-0x000000990000 : "boot"
                0x000000990000-0x000001170000 : "rootfs"
                0x000001170000-0x000001270000 : "rootfs_data"
                0x000001270000-0x000002000000 : "UDISK"
                ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
                sunxi-ehci: EHCI SUNXI driver
                get ehci1-controller wakeup-source is fail.
                sunxi ehci1-controller don't init wakeup source
                [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a9150, 0x:ffffffd00407b000, irq_no:31
                sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
                sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
                sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
                sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
                sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
                sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
                hub 1-0:1.0: USB hub found
                hub 1-0:1.0: 1 port detected
                ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
                sunxi-ohci: OHCI SUNXI driver
                get ohci1-controller wakeup-source is fail.
                sunxi ohci1-controller don't init wakeup source
                [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a9518
                sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
                sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
                sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
                sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
                sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
                hub 2-0:1.0: USB hub found
                hub 2-0:1.0: 1 port detected
                sunxi-rtc 7090000.rtc: registered as rtc0
                sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T18:50:34 UTC (67834)
                sunxi-rtc 7090000.rtc: sunxi rtc probed
                i2c /dev entries driver
                IR NEC protocol handler initialized
                uvcvideo: Unable to create debugfs directory
                usbcore: registered new interface driver uvcvideo
                USB Video Class driver (1.1.1)
                sunxi cedar version 1.1
                sunxi-cedar 1c0e000.ve: Adding to iommu group 0
                VE: install start!!!
                
                VE: cedar-ve the get irq is 6
                
                VE: install end!!!
                
                VE: sunxi_cedar_probe
                sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
                sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
                sunxi-mmc 4021000.sdmmc: No vmmc regulator found
                sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
                sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
                sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
                sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
                sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
                sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
                sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
                sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                sunxi-mmc 4021000.sdmmc: detmode:manually by software
                ashmem: initialized
                exFAT: Version 1.3.0
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
                
                [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
                [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
                sid_rd_ver_reg()254 - ver >= 4, soc ver:5
                [SNDCODEC][sunxi_card_init][583]:card init finished
                sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
                sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
                input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
                [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
                NET: Registered protocol family 10
                Segment Routing with IPv6
                [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
                NET: Registered protocol family 17
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
                sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
                sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
                mmc0: new high speed SDIO card at address 0001
                sunxi-i2c sunxi-i2c2: probe success
                sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
                get ehci0-controller wakeup-source is fail.
                sunxi ehci0-controller don't init wakeup source
                [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a89c0, 0x:ffffffd004174000, irq_no:2e
                [sunxi-ehci0]: Not init ehci0
                get ohci0-controller wakeup-source is fail.
                sunxi ohci0-controller don't init wakeup source
                [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a8d88
                [sunxi-ohci0]: Not init ohci0
                UBI error: cannot open mtd sys, error -2
                UBI: block: can't open volume on ubi0_-1, err=-19
                platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
                clk: Not disabling unused clocks
                ALSA device list:
                  #0: audiocodec
                alloc_fd: slot 0 not NULL!
                cfg80211: failed to load regulatory.db
                VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
                random: fast init done
                devtmpfs: mounted
                Freeing unused kernel memory: 144K
                This architecture does not have kernel memory protection.
                Run /pseudo_init as init process
                mount: mounting none on /dev failed: Device or resource busy
                overlayfs: upper fs does not support tmpfile.
                overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
                can't run '/etc/preinit': No such file or directory
                mount: mounting proc on /proc failed: Device or resource busy
                mount: mounting tmpfs on /run failed: No such file or directory
                hostname: can't open '/etc/hostname': No such file or directory
                ------run rc.preboot file-----
                ------run rc.modules file-----
                ------run rc.final file-----
                file system registered
                configfs-gadget 4100000.udc-controller: failed to start g1: -19
                sh: write error: No such device
                read descriptors
                read strings
                
                insmod_host_driver
                
                [ehci0-controller]: sunxi_usb_enable_ehci
                [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a89c0, 0x:ffffffd004174000, irq_no:2e
                sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator
                sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller
                sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3
                sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000
                sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00
                hub 3-0:1.0: USB hub found
                hub 3-0:1.0: 1 port detected
                [ohci0-controller]: sunxi_usb_enable_ohci
                [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a8d88
                sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator
                sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller
                sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4
                sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400
                hub 4-0:1.0: USB hub found
                hub 4-0:1.0: 1 port detected
                host_chose finished!
                
                
                BusyBox v1.27.2 () built-in shell (ash)
                
                nice: can't execute '/usr/bin/story_ota_bin': No such file or directory
                ------run profile file-----
                 _____  _              __     _
                |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
                  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
                  | |  | || | || _ |  |_____||_||_|_||___||_,_|
                  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
                 ----------------------------------------------
                 Tina Linux (Neptune, 61CC0487)
                 ----------------------------------------------
                root@TinaLinux:/# random: crng init done
                pio-18: disabling
                pio-33: disabling
                
                root@TinaLinux:/#
                root@TinaLinux:/#
                root@TinaLinux:/# df
                Filesystem           1K-blocks      Used Available Use% Mounted on
                /dev/root                 8192      8192         0 100% /rom
                devtmpfs                 27804         0     27804   0% /dev
                tmpfs                    28628         0     28628   0% /tmp
                /dev/by-name/rootfs_data
                                          1024       196       828  19% /overlay
                overlayfs:/overlay        1024       196       828  19% /
                /dev/mtdblock7           13888       452     13436   3% /mnt/UDISK
                root@TinaLinux:/#
                root@TinaLinux:/#
                root@TinaLinux:/#
                root@TinaLinux:/# mount
                /dev/root on /rom type squashfs (ro,relatime)
                devtmpfs on /dev type devtmpfs (rw,relatime,size=27804k,nr_inodes=6951,mode=755)
                /proc on /proc type proc (rw,relatime)
                tmpfs on /tmp type tmpfs (rw,relatime)
                sys on /sys type sysfs (rw,relatime)
                /dev/by-name/rootfs_data on /overlay type jffs2 (rw,relatime)
                overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/workdir)
                devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
                /dev/mtdblock7 on /mnt/UDISK type jffs2 (rw,relatime)
                none on /sys/kernel/config type configfs (rw,relatime)
                adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
                root@TinaLinux:/#
                root@TinaLinux:/#
                root@TinaLinux:/#
                root@TinaLinux:/# mkdir /opt/
                root@TinaLinux:/#
                root@TinaLinux:/# touch /opt/aaa.bin
                root@TinaLinux:/#
                root@TinaLinux:/# cat /dev/urandom > /opt/bbb.bin
                ^C
                root@TinaLinux:/#
                root@TinaLinux:/# df
                Filesystem           1K-blocks      Used Available Use% Mounted on
                /dev/root                 8192      8192         0 100% /rom
                devtmpfs                 27804         0     27804   0% /dev
                tmpfs                    28628         0     28628   0% /tmp
                /dev/by-name/rootfs_data
                                          1024       756       268  74% /overlay
                overlayfs:/overlay        1024       756       268  74% /
                /dev/mtdblock7           13888       452     13436   3% /mnt/UDISK
                root@TinaLinux:/#
                root@TinaLinux:/#
                

                我板上是 mx25l256,已验证, 理论上其他 32M spi nor flash 都能用。

                文件系统已经可写了。

                N 1 条回复 最后回复 回复 引用 分享 1
                • N
                  nimadibaj LV 4 @smartcar 最后由 编辑

                  @smartcar Hi,
                  I want to use mx25l25635f instead of mx25l12835f
                  In Tinalinux, V833 chip
                  In which file I should do changes?
                  u-boot, driver, dts, ...?
                  please guide me.
                  Thanks.

                  1 条回复 最后回复 回复 引用 分享 0
                  • T
                    towel_roll LV 4 @tigger 最后由 编辑

                    @tigger 这个error问题如何解决,我也遇到了

                    1 条回复 最后回复 回复 引用 分享 0
                    • 1 / 1
                    • First post
                      Last post

                    Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                    行为准则 | 用户协议 | 隐私权政策