Jump to content

amhairghin

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by amhairghin

  1. For me not work.

     

    My update.

    $ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      linux-firmware-image-sun7i linux-headers-sun7i linux-image-sun7i linux-jessie-root-cubietruck
    4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 20.4 MB of archives.
    After this operation, 12.3 kB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Get:1 http://apt.armbian.com/ jessie/main linux-firmware-image-sun7i armhf 5.15 [285 kB]
    Get:2 http://apt.armbian.com/ jessie/main linux-headers-sun7i armhf 5.15 [5,786 kB]
    Get:3 http://apt.armbian.com/ jessie/main linux-image-sun7i armhf 5.15 [14.0 MB]
    Get:4 http://apt.armbian.com/ jessie/main linux-jessie-root-cubietruck armhf 5.15 [372 kB]
    Fetched 20.4 MB in 5s (3,561 kB/s)                
    (Reading database ... 52931 files and directories currently installed.)
    Preparing to unpack .../linux-firmware-image-sun7i_5.15_armhf.deb ...
    Unpacking linux-firmware-image-sun7i (5.15) over (5.11) ...
    Preparing to unpack .../linux-headers-sun7i_5.15_armhf.deb ...
    Unpacking linux-headers-sun7i (5.15) over (5.11) ...
    Preparing to unpack .../linux-image-sun7i_5.15_armhf.deb ...
    Unpacking linux-image-sun7i (5.15) over (5.11) ...
    Preparing to unpack .../linux-jessie-root-cubietruck_5.15_armhf.deb ...
    Unpacking linux-jessie-root-cubietruck (5.15) over (5.11) ...
    Processing triggers for systemd (215-17+deb8u4) ...
    Setting up linux-firmware-image-sun7i (5.15) ...
    Setting up linux-headers-sun7i (5.15) ...
    Compiling headers - please wait ...
    Setting up linux-image-sun7i (5.15) ...
    Setting up linux-jessie-root-cubietruck (5.15) ...
    

    The update not make the magic line:

    mkimage -A arm -O linux -T kernel -C none -a "0x40008000" -e "0x40008000" -n "Linux kernel" -d zImage uImage
    

    :(

  2. To fix "Cannot change data mode on remount" and fix the degraded init state.

     
    Initially, there are these default options present:
    # tune2fs -l /dev/nand2 | grep Default
    Default mount options:    user_xattr acl
    Default directory hash:   half_md4

    Add the data=writeback to this list:

    # tune2fs /dev/nand2 -o journal_data_writeback

    And it'll look like this:

    # tune2fs -l /dev/nand2 | grep Default
    Default mount options:    journal_data_writeback user_xattr acl
    Default directory hash:   half_md4
    
    Then, even the option in /etc/fstab in not really neccessary but you can left it there.
     
    I think that this can be added into install script.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines