Firefly Open Source Community

12345... 8
New Topic

Slackware

513

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
513
Posted at 3/23/2015 04:07:32     
do adaptation slackware
ran into a problem after loading
boot.img initrd system does not continue to boot as a base and just goes for a login and password skipping start init scripts
http://fail.pp.ua/boot_slackware.img.7z
http://fail.pp.ua/slackware-minirootfs-0.1.img.7z

  1. FIRMWARE_VER:4.4.2
  2. MACHINE_MODEL:rk30sdk
  3. MACHINE_ID:007
  4. MANUFACTURER:RK30SDK
  5. MAGIC: 0x5041524B
  6. ATAG: 0x60000800
  7. MACHINE: 3066
  8. CHECK_MASK: 0x80
  9. PWR_HLD: 0,0,A,0,1
  10. #KERNEL_IMG: 0x62008000
  11. #FDT_NAME: rk-kernel.dtb
  12. #RECOVER_KEY: 1,1,0,20,0
  13. CMDLINE:console=tty0
  14. console=ttyS2 earlyprintk loglevel=9 root=LABEL=linuxroot rw
  15. rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000
  16. mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)
Copy the code


Reply

Use props Report

370

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
370
Posted at 3/23/2015 18:08:46     
Last edited by busybee In 3/23/2015 18:17 Editor

This the error line running your boot.img:

mount: mounting /dev/block/mtd/by-name/linuxroot on /mnt failed: No such file or directory
ERROR:  No /sbin/init found on rootdev (or not mounted).  Trouble ahead.
        You can try to fix it. Type 'exit' when things are done.

You need to fix the root= in the parameter, or use a script like

  https://github.com/TeeFirefly/in ... ount/mtd-by-name.sh

in your initramfs to create the block device symlink.

Follow these commands to fix the parameter in your board:
  sudo rkflashkit backup @parameter parm.txt    # fetch parameter from board
  sudo vi parm.t.txt    # modify  "root= /dev/block/mtd/by-name/linuxroot"  to "root=/dev/mmcblk0p5"
  sudo rkflashkit flash @parameter parm.txt    # flash back parameter to board
  sudo rkflashkit reboot   # reboot the device

You might replace /dev/mmcblk0p5  above to fit your actual root dev.

  
Reply

Use props Report

513

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
513
Posted at 3/30/2015 00:31:44     
busybee Posted at 3/23/2015 18:08
This the error line running your boot.img:

mount: mounting /dev/block/mtd/by-name/linuxroot on /m ...

thank you very much for your help
all works

1. resize partition firstboot device
2. wifi firmware moved to /lib/firmware
3. wifi enable /etc/rc.d/rc.wifi start|stop (in rc.local)

login: root
password: password

http://fail.pp.ua/RK3288UbootLoader_V2.19.01.bin
http://fail.pp.ua/parameters.txt
http://fail.pp.ua/resource.img
http://fail.pp.ua/boot.img
http://fail.pp.ua/slack-current-miniroot_09Mar15.img
http://fail.pp.ua/flash.sh
Reply

Use props Report

2366

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2366
Posted at 3/30/2015 09:53:45     
nice job
Reply

Use props Report

513

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
513
Posted at 4/10/2015 03:52:40     
Reply

Use props Report

513

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
513
Posted at 4/18/2015 03:46:20     
Last edited by mara In 4/18/2015 04:13 Editor

new assembly system

info
http://fail.pp.ua/public/board/2

changelog:
  • added image with the desktop xfce
  • installed video driver mali fbdev t76x_r5p0-06rel0
  • support 32 bit color in X
  • added unprivileged user
  • load faster dhcpcd
  • resize partition firstboot device
  • wifi firmware moved to /lib/firmware
  • wifi enable /etc/rc.d/rc.wifi start|stop (in rc.local)


Reply

Use props Report

513

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
513
Posted at 4/20/2015 04:39:34     
Last edited by mara In 4/20/2015 04:42 Editor

changelog
  • small hotfix
  • added support in the kernel nfs, xfs, btrfs, jfs

  • info
    http://fail.pp.ua/public/board/2
    Reply

    Use props Report

    543

    Credits

    19

    Prestige

    15

    Contribution

    advanced

    Rank: 4

    Credits
    543
    Posted at 4/20/2015 11:04:40     
    Send you a PM.
    Reply

    Use props Report

    513

    Credits

    0

    Prestige

    0

    Contribution

    advanced

    Rank: 4

    Credits
    513
    Posted at 5/4/2015 01:11:14     
    Reply

    Use props Report

    59

    Credits

    0

    Prestige

    0

    Contribution

    registered members

    Rank: 2

    Credits
    59
    Posted at 5/30/2015 23:22:45     
    Could you please provide one .img file in order to flash it with the upgrade function of the AndroidTool?

    Or at least provide a "how to" flash slackware with this method.
    Reply

    Use props Report

    Return to List
    12345... 8
    You need to log in before you can reply Login | Register

    This forum Credits Rules

    Quick Reply Back to top Back to list