Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Tina f1c100s SPI NOR模式运行到Starting kernel ... 停止

    Linux
    5
    12
    4163
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      feelsigh LV 5 last edited by

      [0]HELLO! BOOT0 is starting!
      [2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
      
      [60]dram size =32
      [62]Reg pull reg_val=0x00000000,read=0x00000010
      [66]Succeed in reading toc file head.
      [69]The size of toc is 00054000.
      [127]Reg pull reg_val=0x00000000,read=0x00000010
      [136]Ready to disable icache.
      [138]Jump to secend Boot.
      
      
      U-Boot 2014.07 (Jul 31 2018 - 14:59:26) Allwinner Technology
      
      uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
      
      i2c_init: by cpux
      [I2C-DEBUG]:i2c_set_clock() 354
      [I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
      i2c_init ok
      [0.187]pmbus:   ready
      axp: get node[/soc/pmu0] error
      axp_probe error
      [0.193]PMU: cpux 408 Mhz,AXI=408 Mhz
      PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
      key value = 4294967295, fel_key = [256,426]
      DRAM:  32 MiB
      Relocation Offset is: 01581000
      axp: get node[/soc/pmu0] error
      int sunxi_dma_init---
      irq enable
      workmode = 0,storage type = 3
      [0.260]spinor:   0
      flash size =0x8000 sectors
      sunxi spinor is initing...int sunxi_dma_init---
      irq enable
      sunxi_dma_install_int ok
      sunxi_dma_install_int ok
      OK
      spinor id:0x1840ef
      spi_freq = 40000000
      [0.278]sunxi flash init ok
      spinor read: start 0x3e0, sector 0x20
      used mbr [0], count = 8
      spinor read: start 0x800, sector 0x200
      env size is 256
      env partition is too small!
      can't enabled backup env functions
      logo addr = 0x81f00000
      spinor read: start 0x400, sector 0x400
      sunxi_read_bootlogo: read bootlogo partition successful
      do not find fastboot status flag
      --------fastboot partitions--------
      -total partitions:8-
      -name-        -start-       -size-
      bootlogo    : 4000          80000
      env         : 84000         20000
      boot        : a4000         2bc000
      rootfs      : 360000        7a4000
      rootfs_data : b04000        80000
      misc        : b84000        10000
      private     : b94000        10000
      UDISK       : ba4000        0
      -----------------------------------
      spinor read: start 0x6000, sector 0x4
      disable nand error: FDT_ERR_BADPATH
      disable nand error: FDT_ERR_BADPATH
      ## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      PowerBus = 0( 2:vBus 3:acBus other: not exist)
      no battery exist
      sunxi_bmp_logo_display
      Hit any key to stop autoboot:  0
      spinor read: start 0x900, sector 0x40
      spinor read: start 0x940, sector 0x13e1
      ## Booting kernel from Legacy Image at 80007fc0 ...
         Image Name:   ARM OpenWrt Linux-3.10.65
         Image Type:   ARM Linux Kernel Image (uncompressed)
         Data Size:    2638088 Bytes = 2.5 MiB
         Load Address: 80008000
         Entry Point:  80008000
         XIP Kernel Image ... OK
         reserving fdt memory region: addr=81000000 size=10000
         Using Device Tree in place at 81000000, end 8100f29f
      
      Starting kernel ...
      
      
      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        默认是烧哪里的,你改过哪里呢?

        Q 1 Reply Last reply Reply Quote Share 0
        • Q
          feelsigh LV 5 @whycan last edited by

          @whycan 感谢晕哥回帖
          我是根据https://bbs.aw-ol.com/topic/1701/tina-linux-%E5%AD%98%E5%82%A8%E4%BB%8B%E8%B4%A8%E5%88%87%E6%8D%A2-emmc-spi-nand-spi-nor-sd-card-sd-nand/4?_=1668580535100
          改的

          whycan 1 Reply Last reply Reply Quote Share 0
          • whycan
            whycan晕哥 LV 9 @qq354813374 last edited by

            @qq354813374

            不改可以用吗?

            Q 1 Reply Last reply Reply Quote Share 0
            • Q
              feelsigh LV 5 last edited by

              板子用的荔枝派 我修改串口配置了
              sys_config.fex 文件

              [target]
              boot_clock	= 408
              storage_type    = 3
              burn_key        = 0
              
              [norflash]
              size		= 16
              
              ...
              
              [uart_para]
              uart_debug_port = 0
              uart_debug_tx   = port:PE1<5><1><default><default>
              uart_debug_rx   = port:PE0<5><1><default><default>
              
              [uart0]
              uart0_used       = 1
              uart0_port       = 0
              uart0_type       = 2
              uart0_tx         = port:PE1<5><1><default><default>
              uart0_rx         = port:PE0<5><1><default><default>
              
              ...
              
              [uart1]
              uart1_used       = 1
              uart1_port       = 1
              uart1_type       = 2
              uart1_tx         = port:PA2<5><1><default><default>
              uart1_rx         = port:PA3<5><1><default><default>
              
              

              sys_partition_nor.fex文件

              [partition_start]
              
              [partition]
                  name         = bootlogo
                  size         = 1024
                  downloadfile = "bootlogo.fex"
                  user_type    = 0x8000
              
              [partition]
                  name         = env
                  size         = 256
                  downloadfile = "env.fex"
                  user_type    = 0x8000
              
              [partition]
                  name         = boot
                  ;size         = 5120
                  size         = 5600
                  downloadfile = "boot.fex"
                  user_type    = 0x8000
              
              [partition]
                  name         = rootfs
                  ;size         = 1024
                  ;size         = 11520
                  size         = 15648
                  downloadfile = "rootfs.fex"
                  user_type    = 0x8000
              
              [partition]
                  name         = rootfs_data
                  size         = 1024
                  user_type    = 0x8000
              
              ;[partition]
              ;    name         = extend
              ;    size         = 8192
              ;    downloadfile = "usr.fex"
              ;    user_type    = 0x8000
              
              [partition]
                  name         = misc
                  size         = 128
                  user_type    = 0x8000
              
              [partition]
                  name         = private
                  size         = 128
                  user_type    = 0x8000
              
              [partition]
                  name         = UDISK
                  user_type    = 0x8100
              
              1 Reply Last reply Reply Quote Share 0
              • Q
                feelsigh LV 5 @whycan last edited by

                @whycan 默认是SD卡

                Y 1 Reply Last reply Reply Quote Share 0
                • Q
                  feelsigh LV 5 last edited by

                  为啥回帖总是审核

                  1 Reply Last reply Reply Quote Share 0
                  • Y
                    yixiuge LV 5 @qq354813374 last edited by

                    @qq354813374

                    05ae7d33-35a7-4bf1-9346-5893d522f90e-image.png

                    Q 1 Reply Last reply Reply Quote Share 0
                    • Q
                      feelsigh LV 5 @yixiuge last edited by

                      @yixiuge 在 Tina f1c100s SPI NOR模式运行到Starting kernel ... 停止 中说:

                      @qq354813374

                      05ae7d33-35a7-4bf1-9346-5893d522f90e-image.png
                      我这是代理商给的SDK

                      1 Reply Last reply Reply Quote Share 0
                      • Q
                        feelsigh LV 5 last edited by

                        解决了,默认选中的是UART1 选成UART0就可以了
                        Kernel low-level debugging port (Kernel low-level debugging messages viasunXi UART0)

                        DAIZEBIN Y 2 Replies Last reply Reply Quote Share 0
                        • DAIZEBIN
                          DAIZEBIN LV 7 @qq354813374 last edited by

                          @qq354813374 你这个修改就是为了使用uart0作为串口输出吗?

                          1 Reply Last reply Reply Quote Share 0
                          • Y
                            yyh5961 LV 4 @qq354813374 last edited by

                            @qq354813374
                            你这最后咋改的

                            1 Reply Last reply Reply Quote Share 0
                            • 1 / 1
                            • First post
                              Last post

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

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